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: "Stockly, Ed" <email@hidden>
- Date: Wed, 19 Aug 2015 23:27:32 +0000
- Thread-topic: date syntax not working on 10.10.5?
Yeah, I know, in my little self-centered scripting world, I liked having a
something that always worked for me, and was sad to see it go just because
it didn't work for everyone.
The other aspect that bothered me (and I don't know if this has changed or
not) was that initially there was no standard text to date format that
would always work, regardless of what your mac's settings were.
That's actually what's causing the issue here. It will convert a string to
date/time, only if it matches your mac's settings, but there is (or at
least was) no one setting common to all macs that you can rely on, no
matter where your script was installed.
If there were such a setting (or settings), there would be no problem
converting that string to a date.
Ed Stockly
LA Times
On 8/19/15, 4:14 PM,
"applescript-users-bounces+ed.stockly=email@hidden on
behalf of Shane Stanley"
<applescript-users-bounces+ed.stockly=email@hidden on
behalf of email@hidden> wrote:
>On 20 Aug 2015, at 5:03 am, Stockly, Ed <email@hidden> wrote:
>>
>> Whatever guesswork scripting or programming AppleScript used to do, the
>>guessing was flawless.
>
>For you and every other English-speaking Californian, just like ASCII was
>good enough. But the stupid people at Apple started considering that
>there might be other people in the world who didn't speak English, and
>who didn't use the Gregorian calendar. Can you believe their ignorance?
>
>> but my scripts never encountered that in the wild
>
>So presumably the fact that it didn't work for others doesn't count.
>
>--
>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:
>imes.com
>Archives: http://lists.apple.com/archives/applescript-users
>
>This email sent to email@hidden
_______________________________________________
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