Tomar de la élite lo que pertenece a todos

Dont Forget to Load the Rails Timezones!

| Comments

If your migrate to a new mysql database server and your information relies on dates and timezones, specially if you use the mysql timezone functions such as CONVERT_TZ then dont forget to load time zones into your rails db

If you are using ubuntu this works just fine:

load timezones into mysql
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql