search for: convert_tz

Displaying 1 result from an estimated 1 matches for "convert_tz".

Did you mean: convert_to
2011 Mar 18
0
Convert Rails TimeZone name to MySQL timezone name?
For various reasons we need to use the CONVERT_TZ() function in mysql to convert times during queries. The timezone to be used in the conversion is based on the timezone the user selected when setting up their profile (from a select box populated with ActiveSupport::TimeZone.us_zone). The problem is that the zone names in rails differ from the n...