Re: DateBug?
Re: DateBug?
- Subject: Re: DateBug?
- From: Christopher Nebel <email@hidden>
- Date: Wed, 4 Oct 2006 10:59:18 -0700
On Oct 3, 2006, at 10:50 PM, DigitEL wrote:
The following sample snippet is from a syncronizing script between a
folder on my hard drive and a network drive.
get modification date of alias "LocalDrive:mpn1.htm"
date "Wednesday, October 4, 2006 3:15:00 AM"
get modification date of alias "RemoteDrive:mpn1.htm"
date "Wednesday, October 4, 2006 3:15:00 AM"
Thing is the date on both machines was correctly October 3 about 10
PM, the files on the remote drive were definitely older by that
point but by the above comparison, of course, the backup process
would not proceed. I have had this happen before in Panther and now
Tiger several times. Sometimes a restart fixes things. Is this a bug
in AS?
More likely, it's a disagreement on time zones. AppleScript date
objects don't have an explicit time zone, so things can get a little
weird when you're talking to different machines. See if one of them
got reset to GMT.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >DateBug? (From: DigitEL <email@hidden>) |