diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-31 01:26:29 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-31 01:26:29 +0000 |
| commit | 1f243d117b353160c2160aef6d14559166ce1478 (patch) | |
| tree | d5ab19af6d46c9f5bfcba07d6d084e74bf247b2d /lib/date | |
| parent | 68e6271fd137221a1b8c044015903e7162a372a7 (diff) | |
| download | ruby-1f243d117b353160c2160aef6d14559166ce1478.tar.gz ruby-1f243d117b353160c2160aef6d14559166ce1478.tar.xz ruby-1f243d117b353160c2160aef6d14559166ce1478.zip | |
yyyy/mm is not an acceptable format.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 7aa4747ec..f00f60ab4 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 |
