2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

worker: use unix time for HDF5 start_time

This commit is contained in:
Sebastien Bourdeauducq 2016-05-03 21:29:54 +08:00
parent 7976127f6c
commit c50555e11c

View File

@ -232,7 +232,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":