FAT timestamp handling improvements for non-RTC targets:
commit5f5fc7523c27d32081580adcf31c10250c94e41a
authoramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Sun, 16 Aug 2009 17:18:45 +0000 (16 17:18 +0000)
committeramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Sun, 16 Aug 2009 17:18:45 +0000 (16 17:18 +0000)
treeaa409d730f4c6c6def253f5ed5a5085e58c1e67c
parent57adbba5c6bf03a76a3c79309a734b425edc1cb0
FAT timestamp handling improvements for non-RTC targets:
- When writing to a file that is older than the build, file date is set to the build date.
- Time is advanced so that the minutes are a multiple of 11, excluding '00', and seconds =
  minutes. This is done as a hint that the time isn't 100% correct.
- Date increment uses actual month lengths (but without leap year handling)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22348 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/fat.c