From 338806ddaf3761efbf8ba74be8a402928acf4ddc Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Wed, 15 Jan 2025 19:02:15 +0100 Subject: [PATCH] Extract schedule into dedicated files --- data/holidays.yaml | 27 ++++++++++++++++ data/schedule.yaml | 80 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 data/holidays.yaml create mode 100644 data/schedule.yaml diff --git a/data/holidays.yaml b/data/holidays.yaml new file mode 100644 index 0000000..e0acd04 --- /dev/null +++ b/data/holidays.yaml @@ -0,0 +1,27 @@ +holidays: +- from: 2025-01-01 + to: 2025-01-05 +- from: 2025-04-14 + to: 2025-04-27 +- from: 2025-06-09 + to: 2025-06-22 +- from: 2025-07-31 + to: 2025-09-14 +- from: 2025-10-27 + to: 2025-11-02 +- from: 2025-12-22 + to: 2026-01-05 +feasts: +- 2025-01-01 +- 2025-01-06 +- 2025-04-18 +- 2025-04-21 +- 2025-05-01 +- 2025-05-29 +- 2025-06-09 +- 2025-06-19 +- 2025-10-03 +- 2025-11-01 +- 2025-12-25 +- 2025-12-26 + diff --git a/data/schedule.yaml b/data/schedule.yaml new file mode 100644 index 0000000..f2dbeef --- /dev/null +++ b/data/schedule.yaml @@ -0,0 +1,80 @@ +calendars: + test2: + id: "test1" + schedule: + - day: Mon + start: "17:15" + duration: 60 + title: "DS Kids 6" + age: "2025 - 2026" + # - day: Mon + # start: "18:15" + # duration: 60 + # title: "DS Adults 5" + # - day: Mon + # start: "19:15" + # duration: 90 + # title: "DS Contest Gruppe" + + # - day: Tue + # start: "16:30" + # duration: 60 + # title: "DS Kids 4" + # age: "2015-2028" + # - day: Tue + # start: "17:45" + # duration: 60 + # title: "DS Kids 0" + # age: "2015-2028" + # - day: Tue + # start: "18:45" + # duration: 90 + # title: "DS Adults 1" + + # - day: Wed + # start: "17:00" + # duration: 60 + # title: "DS Kids 2" + # age: "2015-2028" + # - day: Wed + # start: "18:00" + # duration: 60 + # title: "DS Teens 0" + # age: "2015-2028" + # - day: Wed + # start: "20:30" + # duration: 90 + # title: "Turnieraufbau Std" + + # - day: Thu + # start: "17:00" + # duration: 60 + # title: "DS Kids 5" + # age: "2015-2028" + # - day: Thu + # start: "18:30" + # duration: 60 + # title: "DS Kids 1" + # age: "2015-2028" + # - day: Thu + # start: "19:30" + # duration: 60 + # title: "DS Adults 3" + + # - day: Fri + # start: "16:30" + # duration: 60 + # title: "DS Minis 0" + # - day: Fri + # start: "19:00" + # duration: 90 + # title: "Tanzkreis 0" + # - day: Fri + # start: "20:30" + # duration: 60 + # title: "Diskofox" + + vorne: + # id: https://cloud.tsc-vfl.de/remote.php/dav/calendars/christianwolf/vh-vorne-regeltermine_shared_by_tsc + id: "vh-vorne-regeltermine_shared_by_tsc" + ignore: true