From: Eric Hodel Date: 2007-09-10T06:44:15+09:00 Subject: Re: DateTime yaml bug On Aug 27, 2007, at 03:10, Artur Merke wrote: > does anybody know a quick fix to the DateTime or Yaml bug > > YAML::load(DateTime.now.to_yaml).class > => Time Please file a bug in the ruby tracker on RubyForge. Also: irb(main):003:0> DateTime.parse '3000/01/01 01:01:01' => # irb(main):004:0> dt = _ => # irb(main):005:0> YAML.load dt.to_yaml ArgumentError: time out of range -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars