summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2020-05-01 16:24:50 +0300
committerTom Rini <trini@konsulko.com>2020-05-01 18:34:01 +0300
commitb8a42e0fcb94b335e0661ff4d2366ee3edf7f883 (patch)
tree7ecd559e6240cc5a5024575c8b97d625c26e4aba /doc
parent54be09cd8f6e66f59144f9e5861b0252ed441d89 (diff)
downloadu-boot-b8a42e0fcb94b335e0661ff4d2366ee3edf7f883.tar.xz
rtc: pcf2127: don't add/subtract 1 to tm_mon
As noted in rtc_def.h, the tm_mon field in struct rtc_time is 1-12, unlike in struct tm where it is 0-11. Currently, running "date" prints the wrong Date: 2020-04-01 (Friday) Time: 13:05:30 and setting the RTC via the date command is also broken. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions