Re: Leopard Date Bugs [don't overlook the japanese part]
Re: Leopard Date Bugs [don't overlook the japanese part]
- Subject: Re: Leopard Date Bugs [don't overlook the japanese part]
- From: Kurt Klamp <email@hidden>
- Date: Sat, 17 Nov 2007 14:35:26 +0100
Am 17.11.2007 um 14:11 schrieb KOENIG Yvan:
Le 17 nov. 07 à 03:48:24, Loren Ryter a écrit :
In my case, I'm not able to try to verify that part of your problem.
I'm on an American English system.
All you have to do is go to International preference pane and set the
settings on the tabs. I'm on a US English system too but got bug
reports
from Japan and now Sweden about date related errors. See the
original post
for definitely replicable issues.
Just curious, why are you concerned about such ancient dates? I ask
because I've written some sophisticated calendar routines for date
manipulation and have never given any thought to dates prior to
1582.
What I'm concerned about is date object. I need reliable dummy
dates to get
times, for instance, as in:
Set ds to "1/1/1000"
Set d to date ds
Set hour of ds to 7
Hour is not a property of a date
AND 'ds' is not a date, its a string
must be 'hours'
set hours of d to 14 --> works
Set minute of ds to 30
See hours:
minute --> minutes
ds --> d
Hello
when I run this one as is under Tiger 10.4.11,
I get this error message:
Impossible de régler hour of "1/1/1000" à 7. (can't set hour of
"1/1/1000" to 7)
which seems normal as we can't set the hour of a string.
But a detail bothers me:
in the script editor, hour is displaid in green as variables names
but if Y understand well it would be displaid in blue as every
AppleScript's functions.
If I edit the line
set hour of ds to 7
to
set hour of d to 7,
which seems more logical, I get the error message:
Saturation de la pile. (stack is full)
Here too. German 10.4.11
Seems to be a bug in AS. Trying to get a non-existent property should
raise an error and not a stack overflow.
I get that on international (here in French) 10.4.11.
Kurt
_______________________________________________
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