3 ms·
I wonder if the cron job should be run every 1/2 hour to catch timezones that are 1/2 hour offsets? (There are even more than I thought) http://geography.abou
by grecy 14y ago
I wonder if the cron job should be run every 1/2 hour to catch timezones that are 1/2 hour offsets?
(There are even more than I thought)
http://geography.about.com/od/culturalgeography/a/offsettimezones.htm http://geography.about.com/od/culturalgeography/a/offsettime...
- amiel 14y ago@grecy, good question. It actually still works as expected. If the time in Pakistan, for example, is 7:00am, then the time in India is 7:30am. The code just checks the hour, which would be 7 in either case.
- 46Bit 14y ago> There are even more [1/2 hour offset timezones] than I thought I was pretty surprised at that as well when building http://hackertimezone.com http://hackertimezone.com. I always assumed it was mostly confined to small island chains and so forth, but there's some world cities in there as well.
- statusgraph 14y agomy personal favorite is the 45minute offset: http://en.wikipedia.org/wiki/Chatham_Islands#Chathams_Time http://en.wikipedia.org/wiki/Chatham_Islands#Chathams_Time