From: Tim Ferrell Date: 2008-01-04T04:29:41+09:00 Subject: Re: Time.gm(1969) chokes on Windows Thanks Rob, but unfortunately I am not the one doing the parsing - YAML is... and it uses Time.gm/Time.utc, which are apparently "built-in" functions in Ruby (i.e. implemented in C) ... I can't help but think this is just a setting somewhere... I checked my regional settings (as James Tucker suggested) but that setting only appears to affect how Windows interprets 2-digit years. Ruby must be doing some kind of system api call for this and it is just limited on Windows... Any other thoughts? Rob Biedenharn wrote: > If you want a date, use Date. (require 'date') > > It handled any date you'd care to throw at it and 1969/1970 is not an > issue. -- Posted via http://www.ruby-forum.com/.