Re: Changing current date format
Re: Changing current date format
- Subject: Re: Changing current date format
- From: Emmanuel LEVY <email@hidden>
- Date: Mon, 20 Jan 2014 07:15:39 +0100
One reason could be that with this old stuff you don't have to know the computer's locale settings.
In other words, this kind of line makes a robust localized month:
----
word ((get current date)'s month as integer) of "Janvier FĂ©vrier etc." -- here the francophone version
----
Emmanuel
On Jan 19, 2014, at 8:51 PM, Christopher Stone wrote:
>> property abbrMonth : {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}
>
> Not sure why we're messing around with this old stuff, since it's been possible to coerce month to text for some time - but it is a tried and true old technique used to work around one of Applescript's former shortcomings.
_______________________________________________
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