X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fedit_course.sh;h=c1deb5a622f0fa85673b8005071408871e4667f4;hp=6da1579c3bc2ca826a2b94d1abd21ae7164c2737;hb=4e49d483fd5121fda86a33cf583c15afa6556ad1;hpb=81c946c0b8fbbaeb0fde535d127eb3f8979fb701 diff --git a/templates/edit_course.sh b/templates/edit_course.sh index 6da1579..c1deb5a 100755 --- a/templates/edit_course.sh +++ b/templates/edit_course.sh @@ -90,13 +90,6 @@ while [ "$fdom" -gt 1 ]; do echo -n '' fdom=$(($fdom - 1)) done -#echo -n '' -#cnt=$(date -d ${dts_year}-${dts_month}-1 +%s) -#while [ "$(date -d @$cnt +%m)" = "$dts_month" ]; do -# dn=$(date -d @$cnt +%d) -# echo -n '' -# cnt=$(($cnt + 86400)) -#done cnt=$(date -d ${dts_year}-${dts_month}-1 +%s) while [ "$(date -d @$cnt +%m)" = "$dts_month" ]; do dn=$(date -d @$cnt +%d)