Update code.py

This commit is contained in:
Mike Barela 2019-07-10 17:40:46 -04:00 committed by GitHub
parent 4bd9de716a
commit 4e108d2640
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ def writetime(the_hr, the_min):
if the_min >= 54:
value = value | FIVEMIN
# before or after
if (the_min > 3) and (the_min <= 30):
if (the_min > 3) and (the_min <= 32):
value = value | PAST
if the_min >= 33:
the_hr = the_hr + 1 # for the TO case