Project

General

Profile

Actions

Bug #627

closed

Time#_dump and Time#_load

Added by wilson (Wilson Bilkovich) about 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
[ruby-core:19252]

Description

=begin
Currently marshaled Time objects lose their GMT status.
In other words:
time = Time.now.gmtime
data = time._dump
Time._load(data).gmt? # => false

Please see the attached spec files for what I believe the behavior should be.
The code in the 'ruby_bug' blocks is what is affected by this flag being lost.
=end


Files

_dump_spec.rb (1.04 KB) _dump_spec.rb wilson (Wilson Bilkovich), 10/10/2008 04:30 AM
_load_spec.rb (907 Bytes) _load_spec.rb wilson (Wilson Bilkovich), 10/10/2008 04:30 AM
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 16 years ago

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

=begin
Applied in changeset r19742.
=end

Actions #2

Updated by wilson (Wilson Bilkovich) about 16 years ago

=begin
Thank you very much for the quick fix!
Is there any chance this could be merged into the 1.8.6 branch?
=end

Actions #3

Updated by nobu (Nobuyoshi Nakada) about 16 years ago

=begin
Hi,

At Sat, 11 Oct 2008 00:02:34 +0900,
Wilson Bilkovich wrote in [ruby-core:19279]:

Is there any chance this could be merged into the 1.8.6 branch?

Probably.

--
Nobu Nakada

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0