Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Jokers Ipod on April 16, 2007, 08:09:22 PM

Title: Problems with time on an Ipod video 5g
Post by: Jokers Ipod on April 16, 2007, 08:09:22 PM
Need help with the time in my ipod video. Where the time and date goes it says:
                                    5:M pc
                           Mon, b e, Yc

Please would somebody help me with this.
Title: Re: Problems with time on an Ipod video 5g
Post by: Llorean on April 16, 2007, 08:12:42 PM
Your theme is outdated, the tag format changed and needs to be fixed in your .wps file. See the CustomWPS page for tag details.
Title: Re: Problems with time on an Ipod video 5g
Post by: David Marsh on April 17, 2007, 02:20:36 AM
Its fairly straight forward to fix the .wps to meet the new RTC token standards. Previously the date/time codes where held between %c and c.   To change it, simply remove the trailing c and put %c in front of every alphabetical letter that was in between, so in your case:

                      %cl:M pc
                           %ca, b e, Yc


would become

                      %cl:%cM %cp
                           %ca, %cb %ce, %cY


Hoped that helps.
Title: Re: Problems with time on an Ipod video 5g
Post by: smiler777 on April 17, 2007, 12:02:07 PM
thx
i fixed that bug, i o happy )) its very easy! Cool.
Anyone have something info about theme`s api? How can i make my own theme?
Title: Re: Problems with time on an Ipod video 5g
Post by: Llorean on April 17, 2007, 12:07:48 PM
The CustomWPS wiki page answers this question as well.
Title: Re: Problems with time on an Ipod video 5g
Post by: smiler777 on April 17, 2007, 12:11:34 PM
Sorry, im from russia, & i know english not very well. Can u give me an url please? Sorry
Title: Re: Problems with time on an Ipod video 5g
Post by: Llorean on April 17, 2007, 12:12:49 PM
Click "wiki" on the bar on the left, and then type CustomWPS in the "Go" box at the top of the page.
Title: Re: Problems with time on an Ipod video 5g
Post by: smiler777 on April 17, 2007, 12:15:08 PM
ok, welldone!  ;) thk u !