https://bugs.kde.org/show_bug.cgi?id=513782
Bug ID: 513782
Summary: Filename template datetime has no padding
Classification: Applications
Product: Skanpage
Version First 25.12.0
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 187941
--> https://bugs.kde.org/attachment.cgi?id=187941&action=edit
Example of bug (fail state)
SUMMARY
Filename template datetime has no padding. I've confirmed this for minutes and
seconds. So the time "15:36:04" the seconds would store as 4 instead of 04. I
have not checked hours, or the date component. I've confirmed that this is
indeed how it saves the files as well and it isn't limited just to the filename
preview in settings.
STEPS TO REPRODUCE
1. Go to the settings screen
2. Use the datetime strings in the template, ie $[YYYY]-$[MM]-$[DD]
$[hh]$[mm]$[ss]
3. Observe the example shown
OBSERVED RESULT
Missing padding on, at least, minutes and seconds, and probably more.
EXPECTED RESULT
That each value is 0-padded, so that the fields (and thus filenames) are always
the same length
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.12-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
--
You are receiving this mail because:
You are watching all bug changes.