From c50555e11c0620b4a16680d4d3897ff4a7083ef7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 3 May 2016 21:29:54 +0800 Subject: [PATCH] worker: use unix time for HDF5 start_time --- artiq/master/worker_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/master/worker_impl.py b/artiq/master/worker_impl.py index 164f6eb1f..3d6d2dde7 100644 --- a/artiq/master/worker_impl.py +++ b/artiq/master/worker_impl.py @@ -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":