summaryrefslogtreecommitdiffstats
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
commit067a35bc5546e2bf9d3a7e90c42200f2795bd6b8 (patch)
tree83aee2add2ead41378a9ab650a07e509952d5b93 /time.c
parentb9d76a1ee4f7c4c2060483bfd5e80c58265807fa (diff)
downloadruby-067a35bc5546e2bf9d3a7e90c42200f2795bd6b8.tar.gz
ruby-067a35bc5546e2bf9d3a7e90c42200f2795bd6b8.tar.xz
ruby-067a35bc5546e2bf9d3a7e90c42200f2795bd6b8.zip
* time.c (time_to_s): fixed typo. [ruby-dev:29162]
git-svn-id: http://svn.ruby-lang.org/repos/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 1de44554f..d8d01b1cf 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;