ruby-changes:27423
From: tadf <ko1@a...>
Date: Sun, 24 Feb 2013 21:16:47 +0900 (JST)
Subject: [ruby-changes:27423] tadf:r39475 (trunk): * ext/date/date_core.c:
tadf 2013-02-24 21:16:07 +0900 (Sun, 24 Feb 2013) New Revision: 39475 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39475 Log: * ext/date/date_core.c: [ruby-core:52303] Modified files: trunk/ChangeLog trunk/ext/date/date_core.c Index: ChangeLog =================================================================== --- ChangeLog (revision 39474) +++ ChangeLog (revision 39475) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Feb 24 21:15:05 2013 Tadayoshi Funaba <tadf@d...> + + * ext/date/date_core.c: [ruby-core:52303] + Sun Feb 24 15:33:46 2013 Nobuyoshi Nakada <nobu@r...> * random.c (rb_random_ulong_limited): limit is inclusive, but generic Index: ext/date/date_core.c =================================================================== --- ext/date/date_core.c (revision 39474) +++ ext/date/date_core.c (revision 39475) @@ -7765,7 +7765,7 @@ datetime_s_now(int argc, VALUE *argv, VA https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L7765 of = tm.tm_gmtoff; #elif defined(HAVE_VAR_TIMEZONE) #ifdef HAVE_VAR_ALTZONE - of = (long)((tm.tm_isdst > 0) ? altzone : timezone); + of = (long)-((tm.tm_isdst > 0) ? altzone : timezone); #else of = (long)-timezone; if (tm.tm_isdst) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/