• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing current date format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Changing current date format
      • From: Shane Stanley <email@hidden>
References: 
 >Changing current date format (From: JF <email@hidden>)
 >Re: Changing current date format (From: Luther Fuller <email@hidden>)
 >Re: Changing current date format (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Changing current date format
  • Next by Date: Re: Changing current date format
  • Previous by thread: Re: Changing current date format
  • Next by thread: Re: Changing current date format
  • Index(es):
    • Date
    • Thread