Why does Time.now.utc? return false?

In my environment.rb file I have:

ENV[‘TZ’] = ‘UTC’

When I go into the console I do this:

t = Time.now
=> Mon Jan 21 07:40:25 +0000 2008

t.zone
=> “UTC”

t.utc?
=> false

Any idea why utc? is returning false when clearly the zone is UTC?

Thanks for your help.

try the ruby forum

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs