Add support for editing calendar work and exception times and recurring work times

This commit is contained in:
Dion Moult
2021-04-29 13:16:47 +10:00
parent f8eb1c178a
commit 810d36781c
11 changed files with 359 additions and 26 deletions
@@ -10,6 +10,6 @@ class Usecase:
def execute(self):
for name, value in self.settings["attributes"].items():
if name in ["Start", "Finish"]:
if value and name in ["Start", "Finish"]:
value = ifcopenshell.util.date.datetime2ifc(value, "IfcDate")
setattr(self.settings["work_time"], name, value)