diff --git a/ChangeLog b/ChangeLog index 926bf5f2e3..8bc2430348 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jul 28 09:41:45 2006 Yukihiro Matsumoto + + * time.c (time_to_s): fixed typo. [ruby-dev:29162] + Fri Jul 28 00:26:47 2006 Yukihiro Matsumoto * math.c (domain_check): ANSI style function arguments diff --git a/time.c b/time.c index 1de44554fe..d8d01b1cf2 100644 --- a/time.c +++ b/time.c @@ -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;