• Status Unconfirmed
  • Percent Complete
  • Task Type Patches
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System All players
  • 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 cdlees - 2008-09-25

FS#9419 - time structure tm.tm_yday implemented

Here is a path that implements the year day variable in the tm structure. It does leap year checking. It uses a lookup table to find the number of days, the same as the mktime function. It creates another copy of the lookup table, this could be moved outside to conserve space if required.

As I don't have SVN access from behind the firewall its been built against 18563.

Style notice:
conform the Rockbox code guidelines you'll need to replace the TABs with 4 spaces.

Fixed formatting.

Sync to r23221.

Is it possible to commit it?
I use it since at least an year and half with no problem… :-)


Available keyboard shortcuts


Task Details

Task Editing