[ruby-core:62289] [ruby-trunk - Bug #7445] strptime('%s %z') doesn't work

From: tadf@...
Date: 2014-05-02 10:57:01 UTC
List: ruby-core #62289
Issue #7445 has been updated by tadayoshi funaba.

Related to Bug #9794: DateTime.strptime() doesn't work correctly for '%s %z' added

----------------------------------------
Bug #7445: strptime('%s %z') doesn't work
https://bugs.ruby-lang.org/issues/7445#change-46453

* Author: Felipe Contreras
* Status: Rejected
* Priority: Low
* Assignee: tadayoshi funaba
* Category: lib
* Target version: Next Major
* ruby -v: ruby 1.9.3p327
* Backport: 
----------------------------------------
See:

    ruby -e "require 'date'; p DateTime.strptime('0 +0100', '%s %z').strftime('%s %z')"

The timezone is ignored.

---Files--------------------------------
bug-7445.patch (1.34 KB)
0001-time-fix-strptime.patch (1.44 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next