3 ms·
I think this is the inverse problem. In this case, timestamp is the appropriate data structure for the meeting and each person's client needs to convert it back
by throwaway894345 5y ago
I think this is the inverse problem. In this case, timestamp is the appropriate data structure for the meeting and each person's client needs to convert it back to local time, accounting for things like daylight savings time and so on.
- marcan_42 5y agoRecurring meetings cannot be expressed as timestamps (unless you want all the humans to hate you). The recurrence has to be expressed in terms of local time (and date/day of week) in some (ideally per-event) timezone.
- ithkuil 5y agoIt's fine as long as all the meetings are conventionally expressed in one time zone. If some meetings are created in some US tz, some other meetings in some EU timezones, then when the biyearly DSTgeddon week(s) come, you not only have meetings shifting unexpectedly but you also have conflicts since some meetings changed and others didn't! Such a mess. But it doesn't happen frequently enough for it to be worthwhile fixing/regulating/whatever
- lolinder 5y ago> If some meetings are created in some US tz, some other meetings in some EU timezones, then when the biyearly DSTgeddon week(s) come, you not only have meetings shifting unexpectedly but you also have conflicts since some meetings changed and others didn't! But this is a problem in the real world, not a software problem. Choosing to use UTC when that's not how the business actually thinks about schedules will lead to you just doing your own DST math, which is harder than just storing the correct time zones from the get go.
- ithkuil 5y agoSure it is a real world problem. And no, I wasn't advocating for UTC which would not work for half a year, instead of causing a few days of minor headaches. It's caused by the fact that different branches of a large corp have genuine situations where some meetings are between local employees and other situations where you invite a mix of distributed people. Thus there is no "natural default" as to which timezone is "correct".
- chrismcb 5y agoWhy not? Assuming you mean utc when you say timestamp. You just need to covert it the users timezone before displaying it.
- alecbz 5y agoFor a repeating meeting I think the construct you want is actually a datetime, generally. E.g., a weekly meeting is not a meeting that happens on one particular timestamp and then repeats every 24*7 hours. If you hit daylight savings time, you want a 9am meeting to still be on the "new" 9am, not shift to 10am or 8am.
- toast0 5y agoFuture times are tricky. Some weekly meetings are 24 hours * 7 days apart. Some are at the same time in (fixed) LocationA, 7 days later; some in (fixed) LocationB. Some in whatever location the organizer is (maybe a personal reminder rather than a meeting with others). It would be a lot easier if locations changing offsets to other locations was a lot less frequent.
- wasmitnetzen 5y agoEvery calendar app I know asks for a timezone when scheduling a meeting. So if you schedule it in Europe/London, it will move in UTC. If you schedule it in GMT+1 (which what Europe/London is in summer), it won't.