mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
f0dff3c677
commit
9121d687c5
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Jul 28 09:41:45 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* time.c (time_to_s): fixed typo. [ruby-dev:29162]
|
||||||
|
|
||||||
Fri Jul 28 00:26:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Fri Jul 28 00:26:47 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* math.c (domain_check): ANSI style function arguments
|
* math.c (domain_check): ANSI style function arguments
|
||||||
|
|
2
time.c
2
time.c
|
@ -1204,7 +1204,7 @@ time_to_s(VALUE time)
|
||||||
time_get_tm(time, tobj->gmt);
|
time_get_tm(time, tobj->gmt);
|
||||||
}
|
}
|
||||||
if (tobj->gmt == 1) {
|
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 {
|
else {
|
||||||
time_t off;
|
time_t off;
|
||||||
|
|
Loading…
Reference in a new issue