summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-28 00:47:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-28 00:47:26 +0000
commit9121d687c5ec1322ce65543d377e4a025ba91908 (patch)
tree83aee2add2ead41378a9ab650a07e509952d5b93 /time.c
parentf0dff3c67789523efd8ae930a8b2aa071fcde071 (diff)
* time.c (time_to_s): fixed typo. [ruby-dev:29162]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10631 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 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;