• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Date math problem in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Date math problem in Leopard (From: Jeff Jungblut <email@hidden>)

  • Prev by Date: Re: Date math problem in Leopard
  • Next by Date: Re: Date math problem in Leopard
  • Previous by thread: Re: Date math problem in Leopard
  • Next by thread: Re: Date math problem in Leopard
  • Index(es):
    • Date
    • Thread