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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0