From: "stomar (Marcus Stollsteimer)" Date: 2012-06-27T21:15:45+09:00 Subject: [ruby-core:45916] [ruby-trunk - Bug #6656][Open] Time#strftime('%Z') should return 'UTC' instead of 'GMT' Issue #6656 has been reported by stomar (Marcus Stollsteimer). ---------------------------------------- Bug #6656: Time#strftime('%Z') should return 'UTC' instead of 'GMT' https://bugs.ruby-lang.org/issues/6656 Author: stomar (Marcus Stollsteimer) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux] =begin Time#strftime('%Z') should return 'UTC' instead of 'GMT', as in Time#to_s and Time#zone. This is also the behaviour of Ruby 1.9.3. irb(main):001:0> Time.utc(2012, 6, 27).to_s => "Wed Jun 27 00:00:00 UTC 2012" irb(main):002:0> Time.utc(2012, 6, 27).zone => "UTC" irb(main):003:0> Time.utc(2012, 6, 27).strftime('%Z') => "GMT" =end -- http://bugs.ruby-lang.org/