K 10 svn:author V 3 ian K 8 svn:date V 27 2018-01-10T02:31:59.509396Z K 7 svn:log V 294 Bugfix: don't lose the am/pm mode flag when setting the time. Unlike most RTC chips that have a control register bit for am/pm mode, the DS13xx series uses one of the high bits in the hour register. Thus, when setting the time in am/pm mode, the am/pm mode flag has to be ORed into the hour. END