2000-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
abc49e493d
commit
8c4f656b6c
@ -1,3 +1,7 @@
|
|||||||
|
Wed Jun 14 14:50:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
|
||||||
|
|
||||||
|
* time.c (make_time_t): opposite timezone shift (should be negative).
|
||||||
|
|
||||||
Wed Jun 14 14:07:38 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
|
Wed Jun 14 14:07:38 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
|
||||||
|
|
||||||
* io.c: typo(ig/if).
|
* io.c: typo(ig/if).
|
||||||
|
2
time.c
2
time.c
@ -314,7 +314,7 @@ make_time_t(tptr, utc_or_local)
|
|||||||
if (!utc_or_local) { /* localtime zone adjust */
|
if (!utc_or_local) { /* localtime zone adjust */
|
||||||
#if defined(HAVE_TM_ZONE)
|
#if defined(HAVE_TM_ZONE)
|
||||||
tm = localtime(&guess);
|
tm = localtime(&guess);
|
||||||
guess += tm->tm_gmtoff;
|
guess -= tm->tm_gmtoff;
|
||||||
#else
|
#else
|
||||||
struct tm gt, lt;
|
struct tm gt, lt;
|
||||||
long tzsec;
|
long tzsec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user