From fa609283d5125fac179f1d6aef74488c341097e4 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 7df76e5f0..7e8ea7ff5 100644 --- a/artiq/master/worker_impl.py +++ b/artiq/master/worker_impl.py @@ -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":