For example, I need to convert time from UTC to local. And I use Time.zone to do this.
1.Time.zone = local_zone_name
2.Time.zone.utc_to_local(utc_time_var)
But I'd like to avoid the usage of the first line since I believe this approach modifies the class variable. Any suggestions? Thx in advance!