#95122TYPO3 falesly indexes file CHANGE time (ctime) into sys_file.creation_date.
Description
Updated description
TYPO3 indexes a file’s mtime into sys_file.modification_date, which is correct. The mtime = modification time of file content.
TYPO3 indexes a file’s ctime into sys_file.creation_date, which is wrong . The ctime = change time of the file node (including name, access modifiers, and content).
ctime >= mtime, basically always.
The “c” stands for “change”, not “creation”.
TYPO3 also labels this sys_file.creation_date field in the backend as “Created At”, which is wrong, as it contains semantically the filesystem change time of the file, as noted above.
Original ticket Description
Hey guys,
It seems that create date and Last modified date in FAL is reversed (info and ref view.) Checked it in TYPO3 7/8/10.
Cheers,
Andrea
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] TYPO3 falesly indexes file CHANGE time (ctime) into sys_file.creation_date. Resolves: #95122 Releases: main