From 285b0de8af736d352e099a6c3fe90b6566286687 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 00:12:04 -0600 Subject: [PATCH] Update defaults.inc --- defaults.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults.inc b/defaults.inc index 5aea9087..b67882f4 100755 --- a/defaults.inc +++ b/defaults.inc @@ -91,7 +91,8 @@ DISP_HEADER(){ lastrun_item=$(echo ${lastrun_item[4]} | sed "s/.lastrun//g") lastrun_item=$(echo ${lastrun_item} | sed "s/-/ /g") lastrun_date=$(stat -c %y ${lastrun}) - echo "${lastrun_item~} - ${lastrun_date}" + IFS='/'; lastrun_date=(${lastrun_date}); unset IFS + echo "${lastrun_item~} - ${lastrun_date[0]}" done DIVIDER