diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | time.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Jul 28 09:41:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * time.c (time_to_s): fixed typo. [ruby-dev:29162] + Fri Jul 28 00:26:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * math.c (domain_check): ANSI style function arguments @@ -1204,7 +1204,7 @@ time_to_s(VALUE time) time_get_tm(time, tobj->gmt); } if (tobj->gmt == 1) { - len = strftime(buf, 128, "%a %b %d %Y %H:%M:%S UTC", &tobj->tm); + len = strftime(buf, 128, "%a %b %d %H:%M:%S UTC %Y", &tobj->tm); } else { time_t off; |