mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
fix displaying derived task durations
This commit is contained in:
@@ -227,3 +227,9 @@ def parse_duration(value):
|
||||
except:
|
||||
print("error fuzzy parsing duration")
|
||||
return None
|
||||
|
||||
|
||||
def canonicalise_time(time):
|
||||
if not time:
|
||||
return "-"
|
||||
return time.strftime("%d/%m/%y")
|
||||
|
||||
Reference in New Issue
Block a user