On Sat, 15 Mar 2003, Peter J. Acklam wrote: > Dave Rolsky <[EMAIL PROTECTED]> wrote: > > > My article about date/time handling with Perl is now on perl.com at > > http://www.perl.com/pub/a/2003/03/13/datetime.html > > You write: > > "UTC is a good standard for the _internal_ representation of > dates and times, as it makes comparing datetimes or doing > datetime math much easier." > > But DateTime isn't using UTC -- it's just pretending it is in the > docs. You should either stop violating the standard and start > support UTC, or stop saying you are using UTC.
And you should chill a bit. > Exactly -- and these two time systems are kept in sync by adding > or subtracting seconds every now and then. This is an essential > part of UTC which you happily ignore. > > It's fine if you don't want to support leap second, but then you > shouldn't say that you are using UTC, because you simply aren't. Actually, I've been considering adding support for leap seconds. It's just a big pain in the butt. This will be resolved as development goes forward, either by actually supporting leap seconds or documenting how they're not supported. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
