diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-10-04 04:51:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-10-04 04:51:08 +0000 |
commit | 758cb647c7ac9e02a9ee0d7cb0934a5c963481e0 (patch) | |
tree | a6ad21b14e176e9c3a39a775781b978950315543 /time.c | |
parent | d426749ff0ec0348e8b2f9e32724ac715aad500b (diff) |
19991004
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ time_arg(argc, argv, tm) } tm->tm_year = obj2long(v[0]); - if (0 < tm->tm_year && tm->tm_year < 69) tm->tm_year += 100; + if (0 <= tm->tm_year && tm->tm_year < 69) tm->tm_year += 100; if (tm->tm_year >= 1900) tm->tm_year -= 1900; if (NIL_P(v[1])) { tm->tm_mon = 0; |