4 ms·
Some use cases really do require the local TZ offset be saved. Transforming everything to UTC wipes out that information. An engineer in the US reviewing indu
by hughw 1y ago
Some use cases really do require the local TZ offset be saved. Transforming everything to UTC wipes out that information.
An engineer in the US reviewing industrial measurements logged in a plant in Asia from a variety of sources is definitely going to encounter lots of events recorded in local time. It would be maddening for that engineer to have to review and resolve events from different time coordinates, especially if they are doing the review months or years later. It's best to accept that reality and adopt local time as the standard. Then you must record the TZ offset per UTC in any new system you create.
- bbojan 1y agoYou mean you must record the timezone? Because the TZ offset can change throughout the year (e.g. due to daylight saving time).
- hughw 1y agoUsually the TZ offset is enough. The use case is a guy reading notes and logs from multiple sources. All that guy needs is to see the local time at the time and place of the event. So that, for example, he can match up the time stamp on some computer recorded log with the time some human operator recorded, in local time, on a paper record.