Re: Son of Y2.401K
Re: Son of Y2.401K
- Subject: Re: Son of Y2.401K
- From: Chris Espinosa <email@hidden>
- Date: Wed, 13 Feb 2002 10:27:23 -0800
On Tuesday, February 12, 2002, at 08:57 PM, Nigel Garvey
<email@hidden> wrote:
>
It now gives me great pleasure to announce the discovery of the AS 1.6
>
equivalent, which I have provisionally called the J101 bug. It affects
>
1st January in the 101st year of every Julian cycle that I've tested -
>
ie. 1301, 1701, 2101, etc. AppleScript again complains of an invalid
>
date
>
and time if you try to compile 1st January in those years. Adding a day
>
to 31st December in the preceding years results in 32nd December, as
>
does
>
any other date modification that should produce 1st January in an
>
affected year. It's also possible to compile 32nd December of the
>
previous year directly. I haven't tried *all* the other dates in the
>
J101
>
years, but they seem to be OK.
These are problems in the Operating System's DateToString() and
StringToDate() utilities that AppleScript uses, and not something caused
by (or necessarily fixable by) AppleScript itself. (The same was true
for the Y2.401K bug -- we made no changes, but the OS did).
I've reported this curious behavior to the team responsible for the
Date & Time Utilities as bug 2860198.
Chris Espinosa
Manager, Components & Scripting
Apple
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.