Yukihiro Matsumoto
1/7/2008 1:39:00 AM
Hi,
In message "Re: Time.gm(1969) chokes on Windows"
on Fri, 4 Jan 2008 03:12:31 +0900, Tim Ferrell <s0nspark@gmail.com> writes:
|I was trying to sort out a YAML parsing issue on Windows XP SP 2 and
|traced it to Time.gm failing on pre-1970 dates ... this works fine on
|both Ubuntu Linux and my Mac... Any ideas or workarounds?
As many pointed out, Windows time library (probably intentionally)
does not support pre-1970 time. Until Microsoft fixes the bug (or
spec), we can't help it. The alternative is implementing our own time
handling functions but I don't think we have enough resource.
matz.