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 d68c1dfee3..e8c6924384 100644
--- a/time.c
+++ b/time.c
@@ -1219,7 +1219,7 @@ time_to_s(VALUE time)
sign = '-';
off = -off;
}
- sprintf(buf2, "%%a %%b %%d %%Y %%H:%%M:%%S %c%02d%02d",
+ sprintf(buf2, "%%a %%b %%d %%H:%%M:%%S %c%02d%02d %%Y",
sign, off/3600, off%3600/60);
len = strftime(buf, 128, buf2, &tobj->tm);
}