FS#6831 - prompt to set date/time on startup if RTC has invalid time

Attached to Project: Rockbox
Opened by Robert Kukla (roolku) - Wednesday, 14 March 2007, 22:35 GMT
Last edited by Jonathan Gordon (jdgordon) - Sunday, 05 August 2007, 11:00 GMT
Task Type Patches
Category Settings
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This is especially useful on targets that have an off switch instead of a reset button like the gigabeat but also applicable to other targets (power loss due to run down battery etc)

The patch:
- displays the date/time settings screen at start-up on encountering an invalid RTC time
- the screen is pre-set with the build date (instead of 01/01/2000) reducing the number of button presses even more
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Sunday, 05 August 2007, 11:00 GMT
Reason for closing:  Rejected
Comment by Geoff Stokes (iwantanimac) - Friday, 16 March 2007, 11:36 GMT
Looks useful. Might investigate it.
Comment by Dominik Riebeling (bluebrother) - Friday, 16 March 2007, 12:59 GMT
This might be quite confusing for blind users and pretty much annyoing for users that don't care about their RTC (but lose power frequently like swapping batteries on archos devices). This has also been mentioned in IRC a couple of days ago.
Comment by Sylvan Mably (smably) - Friday, 30 March 2007, 00:27 GMT
-Synced with SVN
-New menu option "Prompt to Set Time/Date if Invalid" (off by default)

I hope I did this right...not sure how the lang files should look with this.
Comment by Robert Kukla (roolku) - Saturday, 31 March 2007, 13:07 GMT
adapted to current svn
Comment by Henry Lawson (HenryLawson) - Tuesday, 03 April 2007, 01:03 GMT
this patch looks quite useful. ill give it my thumbs up for implementation as an extra feature.

"New menu option "Prompt to Set Time/Date if Invalid" (off by default)"

that should prevent any confusion for blind users and allows people who don't care about RTC to continue not caring.
Comment by Gary Light (evilg123) - Wednesday, 02 May 2007, 01:15 GMT
I think this needs a sync:
CC root_menu.c
root_menu.c:34:10: error: #include expects "FILENAME" or <FILENAME>
root_menu.c: In function ‘root_menu’:
root_menu.c:445: warning: implicit declaration of function ‘timedate_set’
Comment by Robert Kukla (roolku) - Wednesday, 02 May 2007, 08:23 GMT
Didn't think anybody else was actually using it. :)