mc13783 RTC: Handle years in a better way for the use of struct tm. Make the code...
commitd9550cc973307b35b216f75d184be78ee89e4f0e
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Fri, 24 Dec 2010 17:06:35 +0000 (24 17:06 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Fri, 24 Dec 2010 17:06:35 +0000 (24 17:06 +0000)
tree03bbafcc4e701588c139c1f480a4560226b43bca
parent84677c95cfe19bb70500cb38b105ce00061bf3ac
mc13783 RTC: Handle years in a better way for the use of struct tm. Make the code less general because all years evenly divisible by 4 in the day range are leap years.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28891 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/rtc/rtc_mc13783.c