bug fix with dates

This commit is contained in:
Steve Nyemba 2021-05-02 23:50:41 -05:00
parent edb2f05773
commit 36311e9482
2 changed files with 9 additions and 2 deletions

View File

@ -134,6 +134,13 @@ 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

View File

@ -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,