Project

General

Profile

Bug #6491

DateTime.strftime('%Z') output is incorrect format

Added by zombor (Jeremy Bush) about 8 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11]
Backport:
[ruby-core:45220]

Description

DateTime.parse('2012/05/23').strftime('%Z') should output 'GMT' (or a similar string). It outputs "+00:00" (or a similar offset string).

Also available in: Atom PDF