From 55bbc5497f8f242f5efe04e3967ffc1fedaa86df Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Thu, 13 May 2021 08:29:27 -0600 Subject: [PATCH] lf_check.py : minor fix to time display Signed-off-by: Chuck SmileyRekiere --- py-scripts/sandbox/lf_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-scripts/sandbox/lf_check.py b/py-scripts/sandbox/lf_check.py index 67ed1342..04bafa8e 100755 --- a/py-scripts/sandbox/lf_check.py +++ b/py-scripts/sandbox/lf_check.py @@ -199,7 +199,7 @@ for running scripts listed in lf_check_config.ini # need to be able to pass in the naming? report = lf_report(_results_dir_name = "lf_check",_output_html="lf_check.html",_output_pdf="lf-check.pdf") - current_time = time.strftime("%m-%d-%Y-%H-%M-%S", time.localtime()) + current_time = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime()) csv_outfile = "lf_check-{}-{}.csv".format(args.outfile,current_time) csv_outfile = report.file_add_path(csv_outfile) print("csv output file : {}".format(csv_outfile))