modified? and get-modes file 'modification-date
[1/3] from: anton::lexicon::net at: 9-Nov-2002 18:30
Notice the time zones are different:
>> modified? %user.r
== 4-Sep-2002/16:23:47+10:00
>> get-modes %user.r 'modification-date
== 4-Sep-2002/16:23:47+11:00
Aren't they supposed to be the same?
I am now in daylight savings time, but the file
was last modified before daylight savings came
into effect.
I got the same result on all these on Window2000 SP3:
REBOL/View 1.2.1.3.1 21-Jun-2001
REBOL/View 1.2.5.3.1 6-May-2002
REBOL/View 1.2.8.3.1 3-Aug-2002 (beta)
REBOL/Base 2.6.0.3.1
REBOL/Link 1.0.2.3.1 25-Mar-2002
Anton.
[2/3] from: brett:codeconscious at: 9-Nov-2002 23:08
Same with me Anton on NT4 SP6.
Interesting to imagine a system where you record modification dates of files
in a single other file and regulary compare them against the current
modification dates. A decision between modified? (info?) and get-modes could
have vastly different consequences when daylight savings (summer time)
begins and ends - if time zones are included.
Then to imagine having to calculate a time differences...hmm I'll stop
there.
Regards,
Brett.
[3/3] from: anton:lexicon at: 14-Nov-2002 21:33
Thanks Brett,
I forwarded this to feedback.
Anton.