Re: date syntax not working on 10.10.5?
Re: date syntax not working on 10.10.5?
- Subject: Re: date syntax not working on 10.10.5?
- From: Shane Stanley <email@hidden>
- Date: Thu, 20 Aug 2015 12:37:55 +1000
On 20 Aug 2015, at 11:13 am, Stockly, Ed <email@hidden> wrote:
>
> It looks like in order to get back the default and flawless behavior we had
Again: *you* had. The date format you keep pining for didn't work for many people. It wasn't dropped to annoy Ed Stockly or AppleScript users. Your samples give different results here.
In case it's not obvious, the AppleScript team don't write the code for things like date conversions (or much else) -- they just write code that calls the relevant OS routines. If Apple change the rules for developers, AppleScript has to go along or risk breaking altogether when the code is discontinued. That's what happened here. In a sense, you can argue it's a case of scripters being held to a reliability standard set for code often used in much different circumstances. But all the banging on about it is not going to alter what's happened, and the fact that for most *Mac* users, it's been a change for the better. Applications you pay money for are likely to be more reliable because of it.
> In the meantime I have to rely on users entering dates and that has introduces errors into what was an error free process.
Can't you specify a format and check? You're only talking dates, so it's not that hard to parse.
--
Shane Stanley <email@hidden>
<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