Commit 8addc690 authored by Jérome Perrin's avatar Jérome Perrin

OldStylePartJobShopWIP: take into account simulation start time and not now()

parent d27efe44
......@@ -88,7 +88,9 @@ class OldStylePartJobShopWIP(plugin.InputPreparationPlugin):
"""
self.data = copy(data)
now = datetime.now()
strptime = datetime.strptime
# XXX this format is incorrect we need to include hour too
now = strptime(data['general']['currentDate'], '%Y/%m/%d')
input_id = self.configuration_dict['input_id']
wip_list = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment