forked from M-Labs/artiq
worker: use unix time for HDF5 start_time
This commit is contained in:
parent
53cef7e695
commit
fa609283d5
|
@ -234,7 +234,7 @@ def main():
|
|||
dataset_mgr.write_hdf5(f.create_group("datasets"))
|
||||
f["artiq_version"] = artiq_version
|
||||
f["rid"] = rid
|
||||
f["start_time"] = start_time
|
||||
f["start_time"] = int(time.mktime(start_time))
|
||||
f["expid"] = pyon.encode(expid)
|
||||
put_object({"action": "completed"})
|
||||
elif action == "examine":
|
||||
|
|
Loading…
Reference in New Issue