Project

General

Profile

Actions

Feature #17544

closed

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

Added by nobu (Nobuyoshi Nakada) about 3 years ago. Updated about 3 years ago.

Status:
Closed
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


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #19552: Time.strftime("%-:::z") behaves differently between 2.7/3.0 v.s. 3.1/3.2ClosedActions
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 3 years ago

  • Description updated (diff)
Actions #2

Updated by nobu (Nobuyoshi Nakada) about 3 years 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
Actions #3

Updated by nobu (Nobuyoshi Nakada) about 3 years 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.

Actions #4

Updated by hsbt (Hiroshi SHIBATA) 11 months ago

  • Related to Bug #19552: Time.strftime("%-:::z") behaves differently between 2.7/3.0 v.s. 3.1/3.2 added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0