Project

General

Profile

Feature #17544

`Time#strftime` supports RFC 3339 UTC for unknown offset local time

Added by nobu (Nobuyoshi Nakada) about 2 months ago. Updated 18 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:102103]

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

#1

Updated by nobu (Nobuyoshi Nakada) 19 days ago

  • Description updated (diff)
#2

Updated by nobu (Nobuyoshi Nakada) 19 days ago

  • Subject changed from Support RFC 3339 UTC for unknown offset local time to `Time#strftime` supports RFC 3339 UTC for unknown offset local time
#3

Updated by nobu (Nobuyoshi Nakada) 18 days ago

  • 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.

Also available in: Atom PDF