Hacker News new | ask | show | jobs
by hughw 4675 days ago
It's frequently important to preserve the original time zone offset of a timestamp. Sending everything as UTC loses that information.
1 comments

There is nothing preventing you from sending a time zone offset (or an Olson timezone id like 'America/Los_Angeles') along with the Unix Time.
Sure no problem. We just have to invent a new format.
That's what JSON is for:

{timestamp: xyz, tz: "America/Los_Angeles"}