1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* time.c (time_mload): use TIME_SET_UTC.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-04-25 06:54:49 +00:00
parent c8f938d0b5
commit c7cfaac668
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sat Apr 25 15:54:04 2009 Tanaka Akira <akr@fsij.org>
* time.c (time_mload): use TIME_SET_UTC.
Sat Apr 25 15:47:54 2009 Tanaka Akira <akr@fsij.org>
* time.c (time_get_tm): take time_object instead of gmt.
@ -10,7 +14,7 @@ Sat Apr 25 15:39:44 2009 Tanaka Akira <akr@fsij.org>
Sat Apr 25 15:21:33 2009 Tanaka Akira <akr@fsij.org>
* time.c (TIME_UTC_P): new macro..
* time.c (TIME_UTC_P): new macro.
(TIME_SET_UTC): ditto.
(TIME_LOCALTIME_P): ditto.
(TIME_SET_LOCALTIME): ditto.

2
time.c
View file

@ -3234,7 +3234,7 @@ end_submicro: ;
GetTimeval(time, tobj);
tobj->tm_got = 0;
tobj->gmt = gmt;
if (gmt) TIME_SET_UTC(tobj);
tobj->timev = timev;
return time;