diff options
Diffstat (limited to 'lib/date')
-rw-r--r-- | lib/date/format.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/date/format.rb b/lib/date/format.rb index 7aa4747ecf..f00f60ab47 100644 --- a/lib/date/format.rb +++ b/lib/date/format.rb @@ -356,7 +356,7 @@ class Date end end - if $1.size > 2 + if $3 && $1.size > 2 comp = false year, mon, mday = mon, mday, year end |