Enable leading zeros in Clock Desklet
Bug #805673 reported by
Danny Trunk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gDesklets |
Fix Committed
|
Wishlist
|
Bjoern Koch |
Bug Description
Be able to use format like %y-%02m-%02d to get format like: 2011-07-04
I added this functionality (not the clean way) by doing:
out = date_format.
Maybe there's a better way?!
Just a suggestion...
To post a comment you must log in.
Thanks for the hint/code.
I'll take a look at it and will try to implement it in the upcoming version of the Clock Desklet which should be shipped with gDesklets 0.36.4 ;).