1.9.3-p286 :001 > Time.zone.now
=> Thu, 07 Feb 2013 06:34:49 UTC +00:00
1.9.3-p286 :002 > Time.zone = ‘Eastern Time (US & Canada)’
=> “Eastern Time (US & Canada)”
1.9.3-p286 :003 > Time.zone.now
=> Thu, 07 Feb 2013 01:35:00 EST -05:00
Above is working well.
But i need to store each records in database with that time stamp.
created_at and updated_at need to be EST, not in UTC.
Also I need store all records created_at and updated_at with client
country time, if one client in NewYork, need to store their time and
person in India, their time need to store.
On Thu, Feb 7, 2013 at 3:19 PM, Jordon B. [email protected]
no matter the system, the timezones only apply to the final object