Project

General

Profile

Actions

Bug #4005

closed

YAML fails to roundtrip Time objects

Added by pweldon (Peter Weldon) about 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-10-30 trunk 29630) [i686-linux]
Backport:
[ruby-core:32960]

Description

=begin
$ rvm exec ruby -v -ryaml -e 't0 = Time.now; p YAML::load(YAML::dump(t0)) == t0'
ruby 1.9.3dev (2010-10-30 trunk 29630) [i686-linux]
false
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
true
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
false
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
false
=end


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0