Re: The latest AS date and AS Editor bugs
Re: The latest AS date and AS Editor bugs
- Subject: Re: The latest AS date and AS Editor bugs
- From: Shane Stanley <email@hidden>
- Date: Thu, 23 May 2013 09:06:59 +1000
On 23/05/2013, at 12:37 AM, Nigel Garvey <email@hidden> wrote:
> but
> there's now a 75-second discrepancy between date texts and other date
> properties which affects all dates up to and including 1 December 1847
> 00:01:14. eg.:
>
> -- (Rearrange this specifier to compile on your own machine.)
> tell date "Thursday 31 December 1846 23:59:59" to ¬
> return its {weekday, day, month, year, hours, minutes, seconds, date string}
> --> {Friday, 1, January, 1847, 0, 1, 14, "Thursday 31 December 1846"}
I presume this is locale-dependent. We introduced GMT at a different date here, and I get:
tell date "Thursday, 31 December 1846 11:59:59 PM" to ¬
return its {weekday, day, month, year, hours, minutes, seconds, date string}
--> {Friday, 1, January, 1847, 0, 20, 7, "Thursday, 31 December 1846"}
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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