--------------enigB9ED8801E7B28C408DD8100D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jim v. Tess wrote: > Is there a reason why Time.local can't handle dates beyond 2038? I know > that's when the number of second since 1970 exceeds 2^32, but can't a > big, strong language like Ruby handle it? > Because it uses the underlying platform's time manipulation functions? (Disclaimer: That's a wild guess.) No point reinventing the wheel in Ruby. The numbercrunching to process Unix timestamps would probably be rather sluggish done in Ruby if done in large quantities - and dates / times are a rather common datatype you need to handle. Mebbe hack around the issue by providing Ruby replacements for large timestamps? Then again, maybe that's what the Date / DateTime classes do. Buggered if I know, I could never remember which one did what. David Vallner --------------enigB9ED8801E7B28C408DD8100D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFJxm7y6MhrS8astoRAlKgAJ99wQHzJkwFmkUmxNlNKcjFLbKo+wCdGRUa 2k52LUOTc9Y77EHOjUuoMWw 6P -----END PGP SIGNATURE----- --------------enigB9ED8801E7B28C408DD8100D--