diff options
author | Erich Eckner <git@eckner.net> | 2024-01-18 18:15:38 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-01-18 18:15:38 +0100 |
commit | fe5a71ac0a857bc1d088f012719209231c74afe8 (patch) | |
tree | 1c92b1b010bc285dcb288937ec7c55f4f6c93e77 | |
parent | 23b3164891d21b2b109d0d8c430ada0e75fe9a59 (diff) | |
download | khal-extras-fe5a71ac0a857bc1d088f012719209231c74afe8.tar.xz |
-rwxr-xr-x | import-kirchenmusik | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/import-kirchenmusik b/import-kirchenmusik index 5035209..1ed33b3 100755 --- a/import-kirchenmusik +++ b/import-kirchenmusik @@ -71,6 +71,13 @@ EOF jahr=$((jahr+1)) done + while [ ${#tag} -lt 2 ]; do + tag="0${tag}" + done + while [ ${#monat} -lt 2 ]; do + monat="0${monat}" + done + cat <<EOF BEGIN:VEVENT DTSTART;TZID=Europe/Berlin:${jahr}${monat}${tag}T${von}00 |