From a30eae10e4669dbea2a0aa878105b37cd115b41b Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Tue, 1 Jan 2013 20:28:34 +0530 Subject: copy edits [ci skip] --- activesupport/lib/active_support/time_with_zone.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/time_with_zone.rb b/activesupport/lib/active_support/time_with_zone.rb index ec16f52f30..fdaaacf2fe 100644 --- a/activesupport/lib/active_support/time_with_zone.rb +++ b/activesupport/lib/active_support/time_with_zone.rb @@ -80,7 +80,7 @@ module ActiveSupport end alias_method :getlocal, :localtime - # Returns true if the the current time is within Daylight Savings Time for the + # Returns true if the current time is within Daylight Savings Time for the # specified time zone. # # Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)' @@ -91,7 +91,7 @@ module ActiveSupport end alias_method :isdst, :dst? - # Returns true if the the current time zone is set to UTC. + # Returns true if the current time zone is set to UTC. # # Time.zone = 'UTC' # => 'UTC' # Time.zone.now.utc? # => true @@ -102,8 +102,7 @@ module ActiveSupport end alias_method :gmt?, :utc? - # Returns a +Fixnum+ of the offset from current time zone to UTC time - # in seconds. + # Returns the offset from current time to UTC time in seconds. def utc_offset period.utc_total_offset end -- cgit v1.2.3