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

Also available in: Atom PDF

Like0
Like0Like0Like0