From: Nobuyoshi Nakada Date: 2009-11-28T22:27:48+09:00 Subject: [ruby-core:26930] [Bug #2396](Third Party's Issue) Time.strftime returns a wrong time zone as hour offset (%z) Issue #2396 has been updated by Nobuyoshi Nakada. File tz.c added Status changed from Assigned to Third Party's Issue Seems a bug of Mac OS X's strftime(). $ uname -v Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 $ ./tz tm_gmtoff = +0900, tm_zone = KST tm_gmtoff = +0800, tm_zone = KST Ruby 1.9 doesn't have this issue, since it uses missing/strftime.c. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2396 ---------------------------------------- http://redmine.ruby-lang.org