FS#7155 - Wrong day of the week displayed in WPS (%ca)

Attached to Project: Rockbox
Opened by Shiloh Hawley (gree665) - Saturday, 12 May 2007, 00:30 GMT
Last edited by Nicolas Pennequin (nicolas_p) - Monday, 21 May 2007, 12:03 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System iPod 4G Grayscale
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I am running firmware from May 10th on my Ipod 4g Grayscale. My WPS displays the wrong day of the week (although the date and time are correct). I am using %ca to display the day of the week. When I go to the settings to the menu that changes the date and time, the correct day of the week is displayed there.
This task depends upon

Closed by  Nicolas Pennequin (nicolas_p)
Monday, 21 May 2007, 12:03 GMT
Reason for closing:  Works For Me
Additional comments about closing:  Issue has disappeared for the reporter and can't be reproduced. Please request reopening if the problem reappears.
Comment by Jonathan Gordon (jdgordon) - Saturday, 12 May 2007, 13:59 GMT
works here...
Comment by Nicolas Pennequin (nicolas_p) - Tuesday, 15 May 2007, 09:37 GMT
Have you checked the new RTC tags format ?
Comment by Shiloh Hawley (gree665) - Tuesday, 15 May 2007, 21:14 GMT
I am using the tags from the wiki page. The line from the WPS is

%al%ca, %cb %cd %ar%cl:%cM%cp

Which shows the day of the week as Sun (today is Tuesday). I replied to someone else's post about this in the forums:
Comment by Shiloh Hawley (gree665) - Friday, 18 May 2007, 00:24 GMT
Update: Today is Thursday, my RB WPS says its Tuesday. Since the Day of the week is always 2 days behind, I thought I would set the year to 2008, making the day of the week Saturday, then if the WPS is 2 days behind, it would display Thursday, and the weekday and day of the month would both be correct.

When I made the change though, the WPS said Saturday. I then changed it back to 2007, and the WPS now says the correct day! I don't know why, but it seems to be fixed.
Comment by Nicolas Pennequin (nicolas_p) - Friday, 18 May 2007, 12:55 GMT
So this was a bug with the RTC and not the WPS code... Maybe I could close this task ?
Comment by Shiloh Hawley (gree665) - Friday, 18 May 2007, 18:23 GMT
Well originally the date was correct when I viewed it from the 'set time/date' screen, only wrong on the WPS screen. So I don't know where the bug is. Maybe you should close it, and we'll see it if ever comes up again.