Actions
Bug #19552
closedTime.strftime("%-:::z") behaves differently between 2.7/3.0 v.s. 3.1/3.2
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-linux]
Description
puts Time.now.utc.strftime("%-:::z")
Until Ruby 3.0 (tested with 2.7.7 and 3.0.5) :
+00
From Ruby 3.1 (tested with 3.1.3 and 3.2.1)
-00
Updated by dmikurube (Dai MIKURUBE) over 1 year ago
Sorry, I was unaware that the origin is now in ruby/date
. I re-submitted an Issue at: https://github.com/ruby/date/issues/93
Updated by hsbt (Hiroshi SHIBATA) over 1 year ago
- Status changed from Open to Third Party's Issue
Updated by nobu (Nobuyoshi Nakada) over 1 year ago
- Status changed from Third Party's Issue to Closed
Updated by hsbt (Hiroshi SHIBATA) over 1 year ago
- Related to Feature #17544: `Time#strftime` supports RFC 3339 UTC for unknown offset local time added
Actions
Like0
Like0Like0Like0Like0Like0