smith / college-football-widget

Mac Dashboard Widget for college football schedules
6 stars 4 forks source link

Use Local Timezones #2

Open smith opened 13 years ago

smith commented 13 years ago

All times shown are Eastern. Translate to local time.

smith commented 12 years ago

This is really a pain to add, because we need to find the current Eastern time offset which depends on DST, and we can only easily get that if the user's local time has the same DST rules as Eastern time. I started this on the https://github.com/smith/college-football-widget/tree/tz branch, so if anyone wants to take a crack at it I'd appreciate it, but I'm not implementing this now.

In the old version we called out to an external Ruby script, where it was a little simpler, but still a hack. See https://github.com/smith/college-football-widget/blob/1.3.5/CollegeFootball.wdgt/get_schedule.rb#L88-117 for how that was done.