Re: xtrn/ddfilelister/ddfilelister.js readme.txt revision_history.txt
By: Rob Swindell to Git commit to main/sbbs/master on Wed Apr 13 2022 07:22 pm
https://gitlab.synchro.net/main/sbbs/-/commit/f8339a97f4325272ffa5782c Modified Files:
xtrn/ddfilelister/ddfilelister.js readme.txt revision_history.txt
Log Message:
Merge branch 'ddfilelister_exted_desc_file_dates' into 'master'
DDFileLister: Dates shown in file desriptions when extended descriptions are enabled.
Just to make sure you're aware, there are 4 "dates" (and times) associated with files:
1. The current date/time when the file was added to the filebase
(e.g. April-13-2022)
2. The file's date/time stamp at the time the file was added to the filebase
(for old files, this could be 20 or 30 years ago).
3. The file's date/time stamp at the time you're viewing the file information
(if the file has been modified since it was uploaded, this may not match
#2).
4. The date/time that the file was last downloaded (or 0 for "never").
Date/time #1 is accesible file a file's 'added' property value, while #4 is available via the 'last_downloaded' property value (probably obvious).
Less obvious is that date/time's #2 and #3 are available via the file's 'time' property and depending on the directory's "Check for File Existence" toggle option, it'll either reflect the *current* date/time stamp of the file or it'll reflect the date/time stamp of the file when it was uploaded.
Yet more potentially interesting dates/times are the newest or oldest time stamps of files *within* each archive. I don't extract and track this information in the SBBS filebase currently, but am considering it.
--
digital man (rob)
Sling Blade quote #24:
Karl: Kaiser blade. I hit my mother upside the head with it. Mmm... Killed her. Norco, CA WX: 57.7øF, 40.0% humidity, 7 mph S wind, 0.00 inches rain/24hrs
--- SBBSecho 3.15-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)