aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
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 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;