You mean, the remote file's modification date does not
have a timezone, so Rebol assumes a timezone of zero,
as in this example:

>> set-modes %afile [modification-date: 20-Feb-2005/1:25:00]
>> get-modes %afile 'modification-date
== 20-Feb-2005/12:25+11:00

You can see the time was adjusted +11 hours to arrive
in the future here in Australia. :)

I think the solution is to add the correct timezone to
the remote time before setting it to your local file.
(Finding out the correct timezone might be a problem
by itself... What timezone is the server in?)

Anton.

> Hi,
> 
> I=B4m having a problem with timezone when setting file modification time.
> My timezone is -3 GMT and every time a try to set a modification time
> based on remote file the Rebol changes to 3 hours less the remote.
> 
> Any idea how to change this behavior?
> Thanks.
> 
> 
> --
> J=FAlio C=E9sar Santana

-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to