summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-04-15 23:00:01 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-04-15 23:00:01 +0200
commit8fdca2601c823cc12908e592bb17356e75178c63 (patch)
tree51ff74b743b62c3209b27dbe798daf3b0aadab9f
parentserial drivers: if no --device parameter is given, look for default cable. (diff)
downloadglucometerutils-8fdca2601c823cc12908e592bb17356e75178c63.tar
glucometerutils-8fdca2601c823cc12908e592bb17356e75178c63.tar.gz
glucometerutils-8fdca2601c823cc12908e592bb17356e75178c63.tar.bz2
glucometerutils-8fdca2601c823cc12908e592bb17356e75178c63.tar.lz
glucometerutils-8fdca2601c823cc12908e592bb17356e75178c63.tar.xz
glucometerutils-8fdca2601c823cc12908e592bb17356e75178c63.tar.zst
glucometerutils-8fdca2601c823cc12908e592bb17356e75178c63.zip
-rw-r--r--glucometerutils/common.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/glucometerutils/common.py b/glucometerutils/common.py
index ac5c931..6ca7a98 100644
--- a/glucometerutils/common.py
+++ b/glucometerutils/common.py
@@ -22,10 +22,6 @@ NO_MEAL = ''
BEFORE_MEAL = 'Before Meal'
AFTER_MEAL = 'After Meal'
-# Constants for date format
-DATETIME_12HR = '12 hours'
-DATETIME_24HR = '24 hours'
-
def convert_glucose_unit(value, from_unit, to_unit=None):
"""Convert the given value of glucose level between units.