Merge branch 'bugfix/date-operations'

pull/6827/head
Konstantin Haase 14 years ago
commit 072e071e48
  1. 2
      lib/to_date_patch.rb

@ -20,7 +20,7 @@ module ToDatePatch
end end
def force_utc def force_utc
return to_time.force_utc unless repond_to? :utc_offset return to_time.force_utc unless respond_to? :utc_offset
return self if utc? return self if utc?
utc - utc_offset utc - utc_offset
end end

Loading…
Cancel
Save