Express + Luxon: Validating Client-Supplied IANA Timezones at the Middleware Boundary
Integration Goal An Express API uses a small middleware to read a client-provided x-user-timezone header, resolve it to an IANA zone string, and attach it as req.tz for downstream route handlers. Response serialization relies on Luxon’s DateTime.fromJSDate(date).setZone(req.tz).toISO() to emit timestamps in the user’s local offset. Constraints and Uncertaint