News for hackers. Stuff that matters.
Re:Scheduling morning emails with Python and Celery by th on Friday February 15, 2013 @10:18AM (#5226538)
Would this create a problem around Daylight Saving Time until the user logs in again to reset their time offset?
Re:Scheduling morning emails with Python and Celery by aqeel on Friday February 15, 2013 @10:32AM (#5226612)
getTimezoneOffset() would return the value after taking care of DST. So there shouldn't be any DST related inconsistencies. Now if the user moves to another timezone, and never hits one of our page, there is no direct way of tracking his/her change in location.
Re:Scheduling morning emails with Python and Celery by th on Friday February 15, 2013 @10:43AM (#5226670)
I mean that starting mid-March a user who had previously been in a -8:00 UTC offset would then be in a -7:00 UTC offset and you wouldn't know the timezone offset changed until they visited the website again.
Re:Scheduling morning emails with Python and Celery by Cherian on Friday February 15, 2013 @10:54AM (#5226736)
That’s certainly a problem. But this solution is better than being totally off. Worst case the person gets the mail in the previous timezone he registered which should be before the DST.