ISOWeek -7 => date -d -7days +%G-%V

This commit is contained in:
Peter Kleiweg
2026-04-24 12:05:02 +02:00
parent 580a54e11c
commit 5c492f55ff
20 changed files with 17 additions and 71 deletions

View File

@@ -9,7 +9,7 @@ export TZ=Europe/Amsterdam
if [ "$1" = "" ]
then
ds=`ISOWeek -7`
ds=`date -d -7days +%G-%V`
else
case "$1" in
2[0-9][0-9][0-9]-[0-5][0-9])