Browse files

copy edits [ci skip]

  • Loading branch information...
1 parent df5c4d6 commit a30eae10e4669dbea2a0aa878105b37cd115b41b @vijaydev vijaydev committed Jan 1, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 activesupport/lib/active_support/time_with_zone.rb
View
7 activesupport/lib/active_support/time_with_zone.rb
@@ -80,7 +80,7 @@ def localtime
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 @@ def dst?
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 @@ def utc?
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

0 comments on commit a30eae1

Please sign in to comment.