Re: Date math problem in Leopard
Re: Date math problem in Leopard
- Subject: Re: Date math problem in Leopard
- From: Philip Aker <email@hidden>
- Date: Sat, 15 Mar 2008 09:20:10 -0700
On 08-03-15, at 09:10, Jeff Jungblut wrote:
Uh, because Leopard has the conversion bug and Tiger doesn't?
It's a known problem -- adding more than 2^30 seconds to a date
will give a bogus result.
How does a bug like that creep into a product when it didn't exist
in a previous version? And how did it get past SQA?
Because they use AppleScript to calculate bug fix dates?
Thanks to Chris and everyone else. I look forward to the update
being shipped in 2038.
Actually I think the problem may not be totally ApplesScript. I
believe there was a bug in NSDate shipped in the first released
versions of Leopard.
I forgot the original question, but if you need some good date math
tout suite, there's a choice of Tcl, sh/bash, Perl, Ruby, Python, and
a few other facilities including CFDate to get your calculations done.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden