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'
=> #<DateTime: 243370443661/86400,0,2299161>
irb(main):004:0> dt = _
=> #<DateTime: 243370443661/86400,0,2299161>
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