Private
Public Access
1
0

another bug fix

This commit is contained in:
Sander Roosendaal
2020-05-23 16:37:45 +02:00
parent 4ae931e38b
commit 012b641466

View File

@@ -237,7 +237,10 @@ def durationprint(d,dstring):
if (d == None):
return d
else:
return d.strftime(dstring)[:-5]
try:
return d.strftime(dstring)[:-5]
except AttributeError:
return None
def getstartenddate(timeperiod):
s,e = timeperiod.split('/')