Re: DateBug?
Re: DateBug?
- Subject: Re: DateBug?
- From: DigitEL <email@hidden>
- Date: Wed, 04 Oct 2006 14:18:24 -0700
Thanks for the reply. Both machines are set to the same time zone but
they do have different date formats. Would that do it?
On Oct 4, 2006, at 10:59 AM, Christopher Nebel wrote:
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 (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
--
ForNow
DigitEL
_______________________________________________
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>) |
| >Re: DateBug? (From: Christopher Nebel <email@hidden>) |