News for hackers. Stuff that matters.
Re:How we send a morning email to users around the world. by grecy on Friday November 16, 2012 @09:02PM (#4796845)
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/offsettime...

Re:How we send a morning email to users around the world. by 46Bit on Friday November 16, 2012 @09:20PM (#4796893)
> 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. I always assumed it was mostly confined to small island chains and so forth, but there's some world cities in there as well.

Re:How we send a morning email to users around the world. by statusgraph on Friday November 16, 2012 @09:50PM (#4796959)
my personal favorite is the 45minute offset: http://en.wikipedia.org/wiki/Chatham_Islands#Chathams_Time
Re:How we send a morning email to users around the world. by amiel on Friday November 16, 2012 @09:18PM (#4796885)
@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.