• 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: date/Snow Leopard changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date/Snow Leopard changed


  • Subject: Re: date/Snow Leopard changed
  • From: Yvan KOENIG <email@hidden>
  • Date: Sun, 6 Sep 2009 12:04:16 +0200


Le 5 sept. 2009 à 22:59:19, LuKreme a écrit :


On 5-Sep-2009, at 09:24, Yvan KOENIG wrote:

And what would be the result if the paragraph 1 is:

31/12/1943 Arpajon (Seine et Oise)

set myTest to "31/12/1943 Arpajon (Seine et Oise)" as string
set myDate to date (myTest)
return myDate
 —> date "Friday, 31 December 1943 00:00:00"

Yvan KOENIG (VALLAURIS, France) samedi 5 septembre 2009 17:12:20

set myTest to "samedi 5 septembre 2009 17:12:20" as string
set myDate to date (myTest)
return myDate
—> error "Invalid date and time date samedi 5 septembre 2009 17:12:20 of «script»." number −30720

Thanks.

I asked because on French system,

set mytest to "12/31/1943"
set myDate to date (mytest)

returns

error "Date et heure invalides date 12/31/1943 of «script»." number -30720

So, it appears that English systems are able to decipher a date using the format dd/mm/yyyy
but French system is unable to decipher a date using the format mm/dd/yyyy

In clear, non English systems are second zone ones. New kind of apartheid !
When I thought that Apple was seriously treating localization features, I was wrong.

Yvan KOENIG (VALLAURIS, France) dimanche 6 septembre 2009 12:04:11


 _______________________________________________
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: date/Snow Leopard changed
      • From: Axel Luttgens <email@hidden>
    • Re: date/Snow Leopard changed
      • From: Michelle Steiner <email@hidden>
    • Re: date/Snow Leopard changed
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: date/Snow Leopard changed (From: Doug Tallman <email@hidden>)
 >Re: date/Snow Leopard changed (From: Yvan KOENIG <email@hidden>)
 >Re: date/Snow Leopard changed (From: LuKreme <email@hidden>)

  • Prev by Date: Re: date/Snow Leopard changed
  • Next by Date: Re: date/Snow Leopard changed
  • Previous by thread: Re: date/Snow Leopard changed
  • Next by thread: Re: date/Snow Leopard changed
  • Index(es):
    • Date
    • Thread