summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/date/lib/date/format.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/lib/date/format.rb b/ext/date/lib/date/format.rb
index 5801c2620a6..84bc7df9c2c 100644
--- a/ext/date/lib/date/format.rb
+++ b/ext/date/lib/date/format.rb
@@ -419,7 +419,7 @@ class Date
:min => $6.to_i,
:sec => $7.to_i,
:zone => $8,
- :offset => zone_to_diff($8)
+ :offset => 0
}
elsif /\A\s*(#{Format::DAYS.keys.join('|')})\s*,\s+
(\d{2})\s*-\s*
@@ -440,7 +440,7 @@ class Date
:min => $6.to_i,
:sec => $7.to_i,
:zone => $8,
- :offset => zone_to_diff($8)
+ :offset => 0
}
elsif /\A\s*(#{Format::ABBR_DAYS.keys.join('|')})\s+
(#{Format::ABBR_MONTHS.keys.join('|')})\s+