Project

General

Profile

This project is closed and read-only.

Actions

Backport #8991

closed

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

Backport #8991: r43177 (fix offset of Time.strptime with "%s" directive)

Added by nagachika (Tomoyuki Chikanaga) almost 13 years ago. Updated almost 13 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) almost 13 years ago Actions #1 [ruby-core:57729]

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

Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago Actions #2

  • 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.

Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago Actions #3

  • Project changed from 15 to 13
  • Status changed from Closed to Assigned
  • Assignee changed from nagachika (Tomoyuki Chikanaga) to usa (Usaku NAKAMURA)

Updated by usa (Usaku NAKAMURA) almost 13 years ago Actions #4

  • 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: PDF Atom