summaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-27 07:48:04 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-27 07:48:04 +0000
commitc55719227f0a037e9056e64225a8f209774287e4 (patch)
treeabd2bf52e324194846d7d2316c947a6cfef26740 /time.c
parentcebf5073dd1526d2a307fba3c5948d4d8ca661d8 (diff)
downloadruby-c55719227f0a037e9056e64225a8f209774287e4.tar.gz
ruby-c55719227f0a037e9056e64225a8f209774287e4.tar.xz
ruby-c55719227f0a037e9056e64225a8f209774287e4.zip
* ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up
Solaris compiler. [ruby-core:08114] * time.c (time_to_s): use +0900 style timezone string for local time. [ruby-dev:29143] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10621 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 d68c1dfee..e8c692438 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);
}
OSZAR »