← Back to team overview

phatch-dev team mailing list archive

[Bug 461635] Re: Dates/Time fields should use leading zeros

 

It should at least have a formatting option for the leading zero

-- 
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!: New

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