• 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: "Nigel Garvey" <email@hidden>
  • Date: Tue, 8 Sep 2009 23:57:31 +0100

"Mark J. Reed" wrote on Tue, 8 Sep 2009 09:22:31 -0400:

>On Mon, Sep 7, 2009 at 6:57 PM, Nigel
>Garvey<email@hidden> wrote:
>>Personally, I quite enjoy  the current behaviour.  :)
>
>While I agree that the automatic correction of invalid dates is a
>feature and not a bug, I also feel that the ability to set the whole
>date at once without having to parse a locale-dependent string would
>be useful.  The need to set the components in a certain order - and
>some of them twice - in order to obtain an arbitrary date is, at best,
>inelegant.

Components only need to be set twice if you start with 'current date',
because to cover all eventualities, that date needs to be changed to
something safe first. If you start with a compiled safe date — say the
first day of a 31-day month in a leap year (which I didn't think of when
I posted yesterday) — you can set the components, once each, in any order
you like.

NG
 _______________________________________________
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: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: Most of my scripts are dying.
  • Next by Date: fresher than a lemon
  • Previous by thread: Re: date/Snow Leopard changed
  • Next by thread: Re: date/Snow Leopard changed
  • Index(es):
    • Date
    • Thread