author avatar

goromlagche

Fri Feb 15 2019

its better to use date + Time.zone.utc_offset rather than Time.zone.parse(date.to_s) if you are worried about performance https://gist.github.com/goromlagche/d0305f1bb72ea1d01372fce3c91553d1