diff options
| author | St33v <github@f3rr3t.com> | 2022-01-04 13:42:08 +1100 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2022-01-04 13:42:08 +1100 |
| commit | b9fc59b5bde345ac7b628c715ce7d5f97ccdac3c (patch) | |
| tree | 33240379d5afef958581d0a126dcff6621ab5d2b /func/deriveTimeString.sh | |
| parent | a3ccc194a12b041f5a6046124469330dd68b7193 (diff) | |
can download and convert when executed manually
Diffstat (limited to 'func/deriveTimeString.sh')
| -rwxr-xr-x | func/deriveTimeString.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
