From: tadf@... Date: 2014-05-02T10:57:01+00:00 Subject: [ruby-core:62289] [ruby-trunk - Bug #7445] strptime('%s %z') doesn't work 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/