Support and General Use > Theming and Appearance Customization
Sansa e200v1 12 hour time format yields date instead of minutes.
redrick:
I'm running 3.50 on a Sansa e200v1 with Lucid Plain Theme.
Rockbox keeps perfect time in both 24 and 12 hour modes in System/Time & Date but if you select the 12 hour mode, in the WPS instead of the correct minutes you get the current month (right now "03"). I.e. if the time is 4:36pm the WPS will say 4:03pm. 24 hour mode works fine. Date reads correctly in both modes. I tried using a few other themes and the same thing occurs.
Sorry if I've posted this in the wrong section. I don't see anyone else posting about the problem in any of the forums, so perhaps it's an e200-only problem, but I have no way of knowing.
saratoga:
I don't know much about themes, but my guess is that the theme itself doesn't do 12 hour time and you need to use a different one, or edit it to work.
AlexP:
There is a conditional 24/12 hour time format tag in the WPS that can be used to make the WPS automatically use the correct format, which all WPSs should use IMO (I for instance dislike the 12 hour format :))
Multiplex:
I would guess that this is a simple typo in the WPS - minute is '%cM' and month is '%cm' - if I get a few minutes I'll take a look.
EDIT: minutes found...
In line24 of .rockbox\wps\LucidPlain.wps;
--- Quote ---%ac%?cf<%cH:%cM|%cl:%cm>:%cS %ce/%cm/%cY%ar
--- End quote ---
Should be
--- Quote ---%ac%?cf<%cH:%cM|%cl:%cM>:%cS %ce/%cm/%cY%ar
--- End quote ---
And this really should be here http://forums.rockbox.org/index.php?board=24.0 the original author may see it then and fix the theme.
AlexP:
And it does nicely adapt to 12/24 hour too :) I suspect the author uses 24h and therefore never saw this.
Navigation
[0] Message Index
[#] Next page
Go to full version