Returns true if the current time zone is set to UTC.
Time.zone = 'UTC' # => 'UTC'
Time.zone.now.utc? # => true
Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
Time.zone.now.utc? # => false
# File activesupport/lib/active_support/time_with_zone.rb, line 100
time_zone.name == 'UTC'
APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at
APIdock copyright Nodeta Oy 2008-2014
Flowdock is a collaboration tool for technical teams. Version control, project management, deployments and your group chat in one place.