From: "zombor (Jeremy Bush)" Date: 2012-05-26T13:09:53+09:00 Subject: [ruby-core:45251] [ruby-trunk - Bug #6491] DateTime.strftime('%Z') output is incorrect format Issue #6491 has been updated by zombor (Jeremy Bush). If this is expected functionality, then perhaps the documentation should be changed. It clearly says `%Z - Time zone abbreviation name`. This in my eyes (and about 10 other ruby developers I asked before i filed this) means UTC, CST, etc. It may be a human readable format, but it sure isn't the "Time zone abbreviation name" as the documentation says. ---------------------------------------- Bug #6491: DateTime.strftime('%Z') output is incorrect format https://bugs.ruby-lang.org/issues/6491#change-26835 Author: zombor (Jeremy Bush) Status: Rejected Priority: Low Assignee: tadf (tadayoshi funaba) Category: Target version: ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11] DateTime.parse('2012/05/23').strftime('%Z') should output 'GMT' (or a similar string). It outputs "+00:00" (or a similar offset string). -- http://bugs.ruby-lang.org/