Hacker News new | past | comments | ask | show | jobs | submit login

That fails for the case that you have an appointment at 3pm in 30 days, and 15 days later the timezone's offset changed.



How does that fail? I have an integer for an appointment. I am at that appointment at that given integer. This applies for all timezones. If the timezone changes, the integer does not. What you are saying is that the timezone changes and the integer changes aswell, but then it's not the same appointment anymore.


Your integer is wrong because it was computed by translating from the current offset of the timezone. What we are saying is that the timezone definition might change in the future (ex. Government no longer honor DST). At that point when you translate back your timestamp into local time it no longer matches the original schedule that the user set.


But the integer stays the same. That's the main point here. Everything else is just converting it to local time. Sure timezones might change that.


From the user's perspective it is the same appointment. They think they have an appointment at 3:00 PM on Thursday. If there's a timezone change, and you just stored an integer, then from the user's perspective the meeting changed from 3:00 PM to 2:00 PM.

Of course, if you have a meeting that spans timezones, this is unavoidable. I think the real solution actually lies in how the meeting time is expressed to the user so they don't have misconceptions about it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: