Re: The latest AS date and AS Editor bugs
Re: The latest AS date and AS Editor bugs
- Subject: Re: The latest AS date and AS Editor bugs
- From: Shane Stanley <email@hidden>
- Date: Wed, 12 Jun 2013 09:17:13 +1000
On 11/06/2013, at 11:00 PM, Nigel Garvey <email@hidden> wrote:
Expect a flood of posts from scripters wanting to know how to manipulate their users' Medium time string settings. ;)
That will make them even less happy:
set ASDate to current date set day of ASDate to 1 set month of ASDate to 7 set day of ASDate to 12 set time of ASDate to 60 * 60 * 15 -- make a date six months later set sixMonths to 184 * days set newASDate to ASDate + sixMonths log ASDate's hours log newASDate's hours {ASDate, newASDate}
Here that gives:
{date "Friday, 12 July 2013 15:00:00 +1000", date "Sunday, 12 January 2014 15:00:00 +1100"}
Seems to me that second one should be either "16:00:00 +1100" or "15:00:00 +1000".
But of course I now use non-string methods to set them.
For which a single command would save an awful lot of mucking around. |
_______________________________________________
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