Rockbox General > Rockbox General Discussion
Date and time tags
Terry The Great:
This week AlexParker and a few months ago MichaelGiacomelli posted a description in the Wiki of all the tags to use for the WPS display. I ran some tests on the time and date tags they listed and I got these inconsistent results:
Tag Description of output in the manual The actual output that is displayed
%ce Zero padded day of month from 1 to 31 Space padded to the left for digits 1 to 9
%ck Hour from 0 to 23 (24 hour format) Space padded to the left for digits 1 to 9
%cl Hour from 1 to 12 (am/pm format) Space padded to the left for digits 1 to 9
What is the reason for the space padding? If it were for alignment purposes then the user could simply use the existing alignment tags (%al, %ar, %ac). Or is it a bug? I would prefer that there not be any space padding.
Please respond to terrythegreat-1@hotmail.com
chrisjj:
FYI: http://www.rockbox.org/tracker/task/7007
saratoga:
Stop addressing questions to random people on the forums. I have no idea about the WPS tags, and I certainly can't answer your question, so there is no reason to ask me specifically. Just ask your question, and if anyone knows, they'll answer.
toehser:
I guess a workaround with %ss and a conditional could work for now.
chrisjj:
--- Quote from: saratoga on January 10, 2014, 09:29:22 PM ---Stop addressing questions to random people on the forums.
--- End quote ---
Saratoga, perhaps you missed that the addressees are not random people. As the post says, they are the authors of the relevant info.
Navigation
[0] Message Index
[#] Next page
Go to full version