Re: reading a property list item
Re: reading a property list item
- Subject: Re: reading a property list item
- From: Axel Luttgens <email@hidden>
- Date: Mon, 28 Jul 2008 09:54:13 +0200
Le 27 juil. 08 à 18:36, KOENIG Yvan a écrit :
Le 21 mai 2008 à 06:32, Mark J. Reed a écrit :
[...]
Thank you Mark
Is it a clean way to force the date tool to use the locale strings?
I wish that
do shell script "date " & quote & "+%A %e %B %Y %H:%M:%S" & quote
(with some complementary code)
returns
"Dimanche 27 Juillet 2008 17:15:26"
and not
"Sunday 27 July 2008 17:15:26".
Hello Yvan,
Perhaps do you just want something like this:
do shell script "LC_TIME='fr_FR.UTF-8' date '+%A %e %B %Y %H:%M:%S'"
Even if date's man page doesn't explicitely state that the utility
makes use of environment variables other than TZ, it is a POSIX
requirement for it to depend on the various LC_ variables as well.
This indeed is the case with Leopard and Tiger, but I haven't checked
yet with earlier versions of Mac OS X.
HTH,
Axel
_______________________________________________
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