From b9fc59b5bde345ac7b628c715ce7d5f97ccdac3c Mon Sep 17 00:00:00 2001 From: St33v Date: Tue, 4 Jan 2022 13:42:08 +1100 Subject: can download and convert when executed manually --- func/deriveTimeString.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'func') diff --git a/func/deriveTimeString.sh b/func/deriveTimeString.sh index 3708265..a09a393 100755 --- a/func/deriveTimeString.sh +++ b/func/deriveTimeString.sh @@ -14,9 +14,9 @@ # This function returns the filename for the most recent chart. DeriveTime() { - nowDate=$(\date -u +%y%m%d) # backslash req. to unalias date to raw format + nowDate=$(\date -u +%Y%m%d) # backslash req. to unalias date to raw format nowTime=$(\date -u +%H%M) # (I have date aliased to date -R) - echo $nowDate$nowTime +# echo $nowDate$nowTime if [ $nowTime -ge 1800 ] ; then fileTime=1800 -- cgit v1.3