|
|
|
|
|
by q7xvh97o2pDhNrh
1001 days ago
|
|
> However, if the timezone in question has some changes you didn't anticipate (new law voted, no more summer time), then you will either be triggering your event 1h before (e.g. 9am instead of 10am) which is probably not what your user wanted, or you'll have to recompute all your timestamps to take that change into account. This is a really interesting scenario that I hadn't considered at all. You're totally right; this approach breaks down there. Off the top of my head, it looks like this scenario would require manual action either way, though. Either it's an update of the packaged datetime library to incorporate this new regulation, or it's a database migration to update the timestamps for affected users. |
|