From ceb02b42cb07fa8bee1ad8c80a99cde5dd086827 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 21 Feb 2015 18:34:31 -0700 Subject: [PATCH] master: use full year in result folder name --- artiq/master/results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/master/results.py b/artiq/master/results.py index 6235ad003..451028d8c 100644 --- a/artiq/master/results.py +++ b/artiq/master/results.py @@ -9,7 +9,7 @@ from artiq.protocols.sync_struct import Notifier, process_mod def get_hdf5_output(start_time, rid, name): dirname = os.path.join("results", - time.strftime("%y-%m-%d", start_time), + time.strftime("%Y-%m-%d", start_time), time.strftime("%H-%M", start_time)) filename = "{:09}-{}.h5".format(rid, name) os.makedirs(dirname, exist_ok=True)