Error in docs about "file creation date"
Wilhelm Sanke
sanke at hrz.uni-kassel.de
Sun May 20 17:41:57 EDT 2007
J. Landman Gay jacque at hyperactivesw.com wrote today:
>Wilhelm Sanke wrote:
>
>> The detailed-files function of Rev appears to be extremely "buggy", and
>> the Rev team should take a close look both at the function itself and
>> the corresponding information in the docs.
>
>I can't reproduce any problems with it at all. Here is a test I did.
>Create a stack with a single field and one button. The button script:
>
>on mouseUp
> answer folder "Choose a folder:"
> set the directory to it
> put the detailed files into fld 1
> repeat with x = 1 to the number of lines in in fld 1
> get item 4 of line x of fld 1
> convert it to short date and time
> put it into item 4 of line x of fld 1
> get item 5 of line x of fld 1
> convert it to short date and time
> put it into item 5 of line x of fld 1
> end repeat
>end mouseUp
>
>This will give you a list of detailed files with the creation and
>modification dates converted so they are easier to read.
>
>(snip)
>
>Then I opened the same stack in WinXP and got identical results. The
>creation and modification dates on each file matched the ones given in
>the Properties dialog for each file. A few files -- which had been
>copied from a Mac volume to Windows -- gave strange dates where the
>modification date was earlier than the creation date. But when I looked
>at the Properties for those files in WinXP, Windows listed the same odd
>dates in its dialogs.
>
>This seems to show that that Rev is retrieving the information from the
>OS, as expected, and that any unusual results are due to the OS rather
>than to Revolution.
>
>Do you get similar results if you run the above script?
Nope, I am sorry.
I do not rule out that the OS data and the detailed files data might
match under circumstances I cannot define.
The results I get here using your script are exactly the same as with my
slightly different script (Indeed I had hoped that it could be a script
issue - in which case the syntactic recommendations of the docs how to
convert the items of the detailed files would have been in question)
For the folder I mentioned in my last post - where the WindowsXP OS
information clearly shows different dates for modification and creation
- with your script I get the same results as before: Only the
modification date is shown both in item 4 and item 5 of the detailed files.
For the "M" - modified - and "O" images - not modified - on MacOS I also
get the same results as before:
Item 4 displays the mentioned phantastic date of "Jan 18, 2038" - which
is probably the USB-stick transfer date - in item 5 with image "M" the
"imported" date "May 19" is shown, while the iTunes data show "March 4 "
as the creation date. For image "O" - the not-modified image - item 4
shows "Jan 18, 2038" and item 5 "March 4", not using here the "imported"
date "March 19" of iTunes.-
Maybe my two main computers are infected with a special "detailed-files
virus". If this is not the case then I have to repeat my statements that
The detailed-files function of Rev appears to be extremely "buggy", and
the Rev team should take a close look both at the function itself and
the corresponding information in the docs.
Best regards,
Wilhelm Sanke
<http://www.sanke.org/MetaMedia>
More information about the use-livecode
mailing list