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: Sun, 23 Aug 2015 11:06:24 +1000
On 23 Aug 2015, at 2:20 am, Stockly, Ed <email@hidden> wrote:
>
> The MM/DD issue is bad, since the results are totally incorrect. Not sure how to fix that.
> The time issue makes no sense.
>
> I wonder if it’s possible to track down where the errors are (bridgeScript; data detectors)
They're in data detectors. You could probably solve both issues with a bit of regex. So you'd search for a pattern of x/y and no other slashes, and replace it with x/y/2015. To be safe, you'd first extract the month and work out whether to use the current year or the next one. For times, it would me a little more complex, but doable. Maybe Chris will work up some regex patterns.
--
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