phatch-dev team mailing list archive
-
phatch-dev team
-
Mailing list archive
-
Message #00837
[Bug 461635] Re: Dates/Time fields should use leading zeros
Phatch has very powerful formatting options. We just need to find the time to put them online. The drop down list gives you in this case your solution as well. What you want is probably:
<year><##month><##day>
or with a python expression:
<####year+##month+##day>
Please ask questions on our forum if you don't know how to use Phatch.
** Changed in: phatch
Status: New => Invalid
** Changed in: phatch
Assignee: (unassigned) => stani (stani)
--
Dates/Time fields should use leading zeros
https://bugs.launchpad.net/bugs/461635
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.
Status in Phatch = Photo & Batch!: Invalid
Bug description:
Currently, the <month>, <day>, <hour>, <minute>, etc tags don't use leading zeros when being replaced from the exif data. Typically you want to use leading zeros to allow the files to still be sortable alphabetically and remain in order and it also avoids confusion.
So, for example <year><month><day>.jpg could generate
200911 Jan 1
2009111 Jan 11 (this one you can't tell which is the month and which is the day... could be Nov 1)
20091116 Nov 16
2009112 Nov 2(this one you also can't tell which is the month and which is the day)
It should generate
20090101
20090111
20091102 (this is in the proper order now)
20091116
This way, there is no ambiguaty and also sorting is preserved.
Thank You.
References