Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.58k stars 220 forks source link

Change %date% format to YYYY-MM-DD #3127

Closed sdal closed 7 months ago

sdal commented 7 months ago

My reason for this is that with DD-MM-YYYY the %date% token makes no use. By adding %date% in the name I assume that I would need to sort images by, let's say, character's name AND date. And with dd-mm-yyyy after sorting files by name i would first get (in Windows at least) pictures of one day of one month of every year possible, then next month of every year and so on. It would hardly help with looking for a picture by upload date. But with YYYY-MM-DD there will be a logical order (again, at least in Windows). image Probably time format would also need to be flipped, but from my experience it's not that critical.

Bionus commented 7 months ago

Hello 👋

Have you checked the date formatting docs? You should be able to use %date:format=yyyy-MM-dd hh.mm% to achieve what you need 👍

Otherwise, it uses your system's locale settings for date formatting by default.

sdal commented 7 months ago

My bad, sorry. Thanks a lot!