Skip to content

Instantly share code, notes, and snippets.

@r38y
Created July 13, 2011 20:06
Show Gist options
  • Save r38y/1081199 to your computer and use it in GitHub Desktop.
Save r38y/1081199 to your computer and use it in GitHub Desktop.
ree-1.8.7-2011.03 :003 > Time.zone.name
=> "UTC"
ree-1.8.7-2011.03 :004 > u[:updated_at]
=> Wed Jul 13 18:45:00 UTC 2011
ree-1.8.7-2011.03 :005 > Time.zone = 'Eastern Time (US & Canada)'
=> "Eastern Time (US & Canada)"
ree-1.8.7-2011.03 :006 > Time.zone.name
=> "Eastern Time (US & Canada)"
ree-1.8.7-2011.03 :007 > u[:updated_at]
=> Wed Jul 13 18:45:00 UTC 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment