SUMMARY Timestamp not updated when using File name timestamp NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports I am trying to change the modified timestamp of a file named "VID_20210819_093309_00_426.mp4". I use the batch processor with Timestamp used = File name timestamp. I don't see any result. I also can't find documentation what the format of the filename should be for this feature to work. STEPS TO REPRODUCE 1. Load file wit filename VID_20210819_093309_00_426.mp4 in batch processor; 2. Select in Control Panel Metadata | Time Adjust; 3. Select in Time Adjust screen Timestamp used = File name timestamp and Timestamp updated = File last modified 4. Execute batch OBSERVED RESULT File last modified timestamp not changed EXPECTED RESULT File last modified timestamp updated to date = 2021-08-19 and time = 09:33:09.00 SOFTWARE/OS VERSIONS Windows: Windows 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I can not reproduce, works without problems. Note that you have to activate the "overwrite automatically" option under Behavior, otherwise a new file will be created to which the changes will be made. Maik
Ok, that particular date format in the filename fails. Strange, since it's actually nothing special. I have a look at it. Maik
Git commit bf35b7ca772555b9aceea67e338bcf4083f70ca5 by Maik Qualmann. Committed on 28/03/2022 at 17:12. Pushed by mqualmann into branch 'qt5-maintenance'. add more supported date file names FIXED-IN: 7.7.0 M +2 -1 NEWS M +3 -0 core/libs/timeadjust/timeadjustcontainer.cpp https://invent.kde.org/graphics/digikam/commit/bf35b7ca772555b9aceea67e338bcf4083f70ca5
A note: The Time Adjust Tool is also available as a standalone tool in the Item menu. It is more suitable for adjusting the time than in the BQM. In the standalone tool there is also a preview of the resulting timestamp. Maik
Hi Maik, Thanks for the tip. In the items menu the date of "VID_20210819_093309_00_426.mp4" is read correctly from the file name. However, the time is set to 00:00:00.
No, the date is not correct, check the year. Maik
What is wrong with it? I read it as 2021-08-19 09:33:09.00
This date file name format was still unknown for the function. When creating the function to decode date file names, we received a lot of samples from users. This format was not included. Now it is also recognized. Maik
"Now" means version 7.7.0?