How to deal with time zones in a Rails app with events...

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2009-09-15T23:54:39Z Indexed on 2010/06/05 21:02 UTC
Read the original article Hit count: 149

Filed under:
|

I have a Rails app for bands. Bands can import their shows which all occur in different time zones. It seems like a ton of work to store these events in UTC. I would have to figure out the time zone for any show created and then convert back to the show's local time zone when displaying to the user. Is there a simple plugin to get a UTC offset based on geolocation? That would probably help, but does anyone see any major reasons why I should store in UTC here? I understand storing timestamps in UTC is probably a good idea...but band event times?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about timezone