author avatar

manu

Wed Aug 23 2017

The best way to parse time is to use Time.zone.parse (which will use the time zone specified in config.time_zone) instead of just Time.parse (which will use the computer’s time zone) courtesy: https://www.varvet.com/blog/working-with-time-zones-in-ruby-on-rails/