Date-math fixes in Tiger
Date-math fixes in Tiger
- Subject: Date-math fixes in Tiger
- From: Nigel Garvey <email@hidden>
- Date: Fri, 13 May 2005 22:34:14 +0100
I see some of our favourite long-standing date-math bugs have been fixed:
:-)
(date "Wednesday 19 January 1972 03:14:07") + (-1)
--> date "Wednesday 19 January 1972 03:14:06"
--> (Not date "Saturday 12 December 1835 20:45:50")
set fred to "1/1/1902"
(date "Thursday 1 January 1903 00:00:00") - (date fred)
--> 31536000
--> (No need to 'get' date fred first)
--> (No "result too large" error with two pre-1904 dates)
NG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden