Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strftime: timestamp 24hours %H is working as %I 12hours #472

Open
L00PN00B opened this issue Oct 28, 2024 · 0 comments
Open

strftime: timestamp 24hours %H is working as %I 12hours #472

L00PN00B opened this issue Oct 28, 2024 · 0 comments

Comments

@L00PN00B
Copy link

Hi Jaisen,

I converted several image with the following ~/.elodie/config.ini

[Directory]
month=%m
year=%Y
full_path=%year/%album/%month/

[File]
date=%Y%m%d_%H%M%S
name=%date.%extension

As you can see, according to the CheatSheet https://strftime.org/ the name of the files should look like:
20241028_205600.jpg
___________^^
20 in 24 hours format.

Unfortunately %H which is defined as,

"%H 07 Hour (24-hour clock) as a zero-padded decimal number."

creates a filename like that:
20241028_085600.jpg
___________^^
08 in 12 hours format (which should be %I, not %H).

How can I fix this for several thousand files without importing (because of multiple source directories) them again?

best regards,
LN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant