Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Settings
  • Assigned To No-one
  • Operating System Archos Recorder
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by fg - 2008-09-12
Last edited by nls - 2008-10-03

FS#9397 - calendar plugin shows incorrect calendars

The calendar plugin shows incorrect calendars on the simulator. The days are of by two, e.g. 12 september 2008 is shown as wednesday instead of friday, and the current day is off by one (today the 12th it shows the 13th)

It works correctly on target

Closed by  nls
2008-10-03 06:47
Reason for closing:  Fixed

These values are hardcoded for the simulator (for any reason?) in calendar.c:

94: #ifdef SIMULATOR
95: today→wday = 3;
96: today→mday = 13;
97: #endif

Just removing these lines should fix it.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing