Front page | perl.perl6.language |
Postings from August 2005
Re: Time::Local
Thread Previous
|
Thread Next
From:
Dave Rolsky
Date:
August 16, 2005 23:28
Subject:
Re: Time::Local
Message ID:
Pine.LNX.4.61.0508170126340.26270@urth.org
On Wed, 17 Aug 2005, Sam Vilain wrote:
> Why on earth would you want to encourage such a short sighted
> programming practise? The earth wobbles like a spinning top. In fact
It's hardly short sighted to want leap seconds to be abandoned (not in
Perl but world wide). The few people who _really_ care about syncing to
midnight can still have them, but the rest of the world would be just fine
with a leap hour every couple hundred years.
> synced, etc. Date modules (which, really, people should be using) then
> have something sensible to work with and can easily provide the
> alternate times. Environments that really can't guarantee an absolute
> epoch can simply return unanchored times and let the modules throw
> exceptions when you try to convert them to real times or times with
> impossible levels of accuracy.
Great, so now code that works in one environment throws a "cannot find an
up-to-date leap seconds table" exception in another? Eek!
-dave
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/
Thread Previous
|
Thread Next