Re:How to save datetimes for future events
by mark-r on Monday March 23, 2015 @12:23PM
(#9251700)
The example is perfect. It isn't enough to change the software, you must also change the existing data, because with the rule change it is now wrong. Or you can take the advice and store your data in a form that doesn't become obsolete when the rules change.
[ Parent
| on HN ]
Re:How to save datetimes for future events
by abfan1127 on Monday March 23, 2015 @12:38PM
(#9251769)
If you store it in UTC, it becomes obsolete when the rules change for that location. If you store it in the local time, it becomes obsolete for other timezones (think the timezone of the traveler before they leave). If you store both UTC and the local, then one (of the 2) becomes obsolete, but recoverable assuming you can scrub the data. However, you must know which is correct based on the rules change itself.