Feature #17544 closed
`Time#strftime` supports RFC 3339 UTC for unknown offset local time
Added by nobu (Nobuyoshi Nakada) about 4 years ago.
Updated about 4 years ago.
Description
In RFC 3339, -00:00 is used for the time in UTC is known, but the offset to local time is unknown.
Support that representation by -
flag for z
at Time#strftime
.
patch
Description updated (diff )
Subject changed from Support RFC 3339 UTC for unknown offset local time to `Time#strftime` supports RFC 3339 UTC for unknown offset local time
Status changed from Open to Closed
Applied in changeset git|9ef66ce3fcfee06d628b611dbc22026d7cc72d0e .
strftime.c: support unknown offset UTC in RFC 3339 [Feature #17544 ]
In RFC 3339, -00:00 is used for the time in UTC is known, but the
offset to local time is unknown. Support that representation by
-
flag for z
.
Related to Bug #19552 : Time.strftime("%-:::z") behaves differently between 2.7/3.0 v.s. 3.1/3.2 added
Also available in: Atom
PDF
Like 0
Like 0 Like 0 Like 0 Like 0