summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 12:23:41 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 12:23:41 +0000
commitd1bc6cc720a8a36b59fa59e6f1312effdbb8091a (patch)
tree654fdc34723ad85145fd5b53a375c0c03a898e4a /time.c
parent976c01b404220d7ffcdea2203b17d93ccfbb33aa (diff)
* time.c (time_mload): don't clear tm_mday.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 4bed1be810..59da26b0b1 100644
--- a/time.c
+++ b/time.c
@@ -2316,7 +2316,7 @@ time_mload(VALUE time, VALUE str)
tm.tm_hour = p & 0x1f;
tm.tm_min = (s >> 26) & 0x3f;
tm.tm_sec = (s >> 20) & 0x3f;
- tm.tm_yday = tm.tm_mday = tm.tm_wday = 0;
+ tm.tm_yday = tm.tm_wday = 0;
tm.tm_isdst = 0;
sec = make_time_t(&tm, Qtrue);