Project

General

Profile

Actions

Backport #8991

closed

r43177 (fix offset of Time.strptime with "%s" directive)

Added by nagachika (Tomoyuki Chikanaga) over 10 years ago. Updated over 10 years ago.

Status:
Closed
[ruby-core:57699]

Description

The problem reported in [ruby-core:57694] seems to be happen on 2.0.0/1.9.3 too.

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

Time.strptime(epoch, "%s") return localtime at r43191. It should be backported too.

Actions #2

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r43221.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 43177,43191: [Backport #8991]

* lib/time.rb (Time.strptime): Use :offset.
  Patch by Felipe Contreras.  [ruby-core:57694]

* lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local
  time Time object as Ruby 2.0 and before.
Actions #3

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago

  • Project changed from Backport200 to Backport193
  • Status changed from Closed to Assigned
  • Assignee changed from nagachika (Tomoyuki Chikanaga) to usa (Usaku NAKAMURA)
Actions #4

Updated by usa (Usaku NAKAMURA) over 10 years ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r43483.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 43177,43191: [Backport #8991]

* lib/time.rb (Time.strptime): Use :offset.
  Patch by Felipe Contreras.  [ruby-core:57694]

* lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local
  time Time object as Ruby 2.0 and before.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0