FS#10786 - enable calendar plugin for non-rtc targets

Attached to Project: Rockbox
Opened by Teruaki Kawashima (teru) - Sunday, 15 November 2009, 13:10 GMT
Last edited by Alexander Levin (fml2) - Monday, 14 December 2009, 21:58 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


with this patch, calendar for non-rtc targets would work as follows (nothing is changed for rtc targets).
1. first time the calendar plugin is started, it selects first day of month of year where month and year is when calendar plugin is build.
2. when the plugin exits, it saves current month and year to config file.
3. next time it is started, it select first day of saved month of year.
This task depends upon

Closed by  Alexander Levin (fml2)
Monday, 14 December 2009, 21:58 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed in r23995.
Comment by Teruaki Kawashima (teru) - Monday, 16 November 2009, 13:43 GMT
fix patch.
* info.last_mon and info.last_year need to be surrounded by #if (CONFIG_RTC == 0).
* add change for SOURCES.