From 3686f4b255800f11b9c903e5fddb0f31bd80400d Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 12 May 2009 12:07:49 +0000 Subject: * time.c: support fixed UTC offset. [ruby-dev:38326] (leap_year_v_p): new macro. (TIME_FIXOFF_P): new macro. (TIME_SET_FIXOFF): new macro. (time_init_0): renamed from time_init. (time_set_utc_offset): new function. (vtm_add_offset): new function. (utc_offset_arg): new function. (time_init_1): new function. (time_init): call time_init_0 or time_init_1 according argc. (validate_utc_offset): new function. (time_localtime_m): new function. (time_fixoff): new function. (time_getlocaltime): take optional UTC offset argument. (time_get_tm): support fixed UTC offset time. (Init_Time): make Time#{initialize,localtime,getlocal} varargs. * strftime.c (rb_strftime): vtm->zone can be NULL now. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b20d0cdb5..40bffe1ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +Tue May 12 21:03:02 2009 Tanaka Akira + + * time.c: support fixed UTC offset. [ruby-dev:38326] + (leap_year_v_p): new macro. + (TIME_FIXOFF_P): new macro. + (TIME_SET_FIXOFF): new macro. + (time_init_0): renamed from time_init. + (time_set_utc_offset): new function. + (vtm_add_offset): new function. + (utc_offset_arg): new function. + (time_init_1): new function. + (time_init): call time_init_0 or time_init_1 according argc. + (validate_utc_offset): new function. + (time_localtime_m): new function. + (time_fixoff): new function. + (time_getlocaltime): take optional UTC offset argument. + (time_get_tm): support fixed UTC offset time. + (Init_Time): make Time#{initialize,localtime,getlocal} varargs. + + * strftime.c (rb_strftime): vtm->zone can be NULL now. + Tue May 12 18:23:40 2009 NAKAMURA Usaku * yarvtest: removed because it's outdated. -- cgit