Project

General

Profile

Actions

Bug #1390

closed

yaml converts DateTime to Time when dumping and parsing again

Added by dohFee1u (dohFee1u dohFee1u) about 16 years ago. Updated about 14 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
Backport:

Description

=begin
This should output a DateTime class:

YAML::load(DateTime.parse("42-05-23").to_yaml).class
=> Time

The Timezone Information is lost in the Time class as well...
=end

Actions #1

Updated by shyouhei (Shyouhei Urabe) about 15 years ago

  • Status changed from Open to Assigned
  • Assignee set to tenderlovemaking (Aaron Patterson)

=begin

=end

Actions #2

Updated by tenderlovemaking (Aaron Patterson) almost 15 years ago

=begin
Fixed this in r28532. I don't seem to have permission to close it though.
=end

Actions #3

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

  • Status changed from Assigned to Closed

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0