]> git.sur5r.net Git - cc65/commit
Fixed 12 AM/PM handling.
authorOliver Schmidt <ol.sc@web.de>
Fri, 17 Aug 2018 22:13:38 +0000 (00:13 +0200)
committerOliver Schmidt <ol.sc@web.de>
Fri, 17 Aug 2018 23:29:40 +0000 (01:29 +0200)
commitcb7ec508f650e79e1d2527bd3b5fdb86e390f9ed
treec34750a468da5517e02042d16150ca4ce124b481
parente549e23a87d8fc2f966aaae6dcf097bb392822c1
Fixed 12 AM/PM handling.

Midnight is 12 AM and noon is 12 PM (see https://en.wikipedia.org/wiki/12-hour_clock). Therefore we need to subtract 12 hours in exactly those two hours.
libsrc/c128/gettime.s
libsrc/c64/gettime.s
libsrc/cbm510/gettime.s
libsrc/cbm610/gettime.s