mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Add support for editing calendar work and exception times and recurring work times
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user