bug fix with dates

master
Steve L. Nyemba 4 years ago
parent edb2f05773
commit 36311e9482

@ -134,7 +134,14 @@ class Formatters :
year = '20' + value[:2] year = '20' + value[:2]
month = value[2:4] month = value[2:4]
day = value[4:] day = value[4:]
elif value.isnumeric() and len(value) >= 10:
#
# Here I a will assume we have a numeric vale
year = value[:4]
month= value[4:6]
day = value[6:8]
else:
# #
# We have a date formatting issue # We have a date formatting issue

@ -8,7 +8,7 @@ import sys
def read(fname): def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read() return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = { args = {
"name":"healthcareio","version":"1.6.4.1", "name":"healthcareio","version":"1.6.4.2",
"author":"Vanderbilt University Medical Center", "author":"Vanderbilt University Medical Center",
"author_email":"steve.l.nyemba@vumc.org", "author_email":"steve.l.nyemba@vumc.org",
"include_package_data":True, "include_package_data":True,

Loading…
Cancel
Save