From b66c2058a3d3fc8c9fbd37e466d7a8d77a0fcb88 Mon Sep 17 00:00:00 2001 From: Matej Novota Date: Tue, 2 Jul 2024 15:11:09 +0200 Subject: [PATCH] 2024-25-susi-fix: fix secondary dates --- data/2024_25/seminare/trojsten/SUSI/1_1_after1.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_1_after2.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_1_start.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_2_after1.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_2_after2.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_2_start.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after1.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after2.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/1_Outdoor_start.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_1_after1.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_1_after2.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_1_start.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_2_after1.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_2_after2.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_2_start.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after1.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after2.yml | 2 +- data/2024_25/seminare/trojsten/SUSI/2_Outdoor_start.yml | 2 +- utils/create_trojsten_seminar.py | 6 +++--- 19 files changed, 21 insertions(+), 21 deletions(-) diff --git a/data/2024_25/seminare/trojsten/SUSI/1_1_after1.yml b/data/2024_25/seminare/trojsten/SUSI/1_1_after1.yml index 4f8bfd2b..9c6210d7 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_1_after1.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_1_after1.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-09-30" + start: "2024-09-16" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_1_after2.yml b/data/2024_25/seminare/trojsten/SUSI/1_1_after2.yml index c72b6374..1b6c06ee 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_1_after2.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_1_after2.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-10-07" + start: "2024-09-30" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_1_start.yml b/data/2024_25/seminare/trojsten/SUSI/1_1_start.yml index c541d00f..51a785ce 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_1_start.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_1_start.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-09-02" + start: "2024-09-30" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_2_after1.yml b/data/2024_25/seminare/trojsten/SUSI/1_2_after1.yml index 60ebc88a..221d1c2a 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_2_after1.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_2_after1.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-10-28" + start: "2024-10-14" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_2_after2.yml b/data/2024_25/seminare/trojsten/SUSI/1_2_after2.yml index cbfac21d..e3c84791 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_2_after2.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_2_after2.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-11-04" + start: "2024-10-28" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_2_start.yml b/data/2024_25/seminare/trojsten/SUSI/1_2_start.yml index d69487de..3d1764e5 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_2_start.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_2_start.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-09-30" + start: "2024-10-28" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after1.yml b/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after1.yml index 442cdc52..7dcce374 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after1.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after1.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-11-25" + start: "2024-11-11" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after2.yml b/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after2.yml index f6193c40..fbe9f22d 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after2.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_after2.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-12-02" + start: "2024-11-25" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_start.yml b/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_start.yml index 7ba87449..2f704dd9 100644 --- a/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_start.yml +++ b/data/2024_25/seminare/trojsten/SUSI/1_Outdoor_start.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2024-10-28" + start: "2024-11-25" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_1_after1.yml b/data/2024_25/seminare/trojsten/SUSI/2_1_after1.yml index c62944a0..7dc67dde 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_1_after1.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_1_after1.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-03-03" + start: "2025-02-17" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_1_after2.yml b/data/2024_25/seminare/trojsten/SUSI/2_1_after2.yml index 2764b8bb..c66e487f 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_1_after2.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_1_after2.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-03-10" + start: "2025-03-03" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_1_start.yml b/data/2024_25/seminare/trojsten/SUSI/2_1_start.yml index 28b1c86b..5b7fc5d6 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_1_start.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_1_start.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-02-03" + start: "2025-03-03" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_2_after1.yml b/data/2024_25/seminare/trojsten/SUSI/2_2_after1.yml index ec101b00..a99354c8 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_2_after1.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_2_after1.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-03-31" + start: "2025-03-17" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_2_after2.yml b/data/2024_25/seminare/trojsten/SUSI/2_2_after2.yml index 0b6f4887..9add0cbf 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_2_after2.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_2_after2.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-04-07" + start: "2025-03-31" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_2_start.yml b/data/2024_25/seminare/trojsten/SUSI/2_2_start.yml index 473fb3f7..e7bb0878 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_2_start.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_2_start.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-03-03" + start: "2025-03-31" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after1.yml b/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after1.yml index 31873904..5864a64a 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after1.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after1.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-04-28" + start: "2025-04-14" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after2.yml b/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after2.yml index 3e85ffa4..4e28e7b2 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after2.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_after2.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-05-05" + start: "2025-04-28" contestants: min: ss1 max: null diff --git a/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_start.yml b/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_start.yml index e0a71295..457921de 100644 --- a/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_start.yml +++ b/data/2024_25/seminare/trojsten/SUSI/2_Outdoor_start.yml @@ -3,7 +3,7 @@ type: seminar sciences: - other date: - start: "2025-03-31" + start: "2025-04-28" contestants: min: ss1 max: null diff --git a/utils/create_trojsten_seminar.py b/utils/create_trojsten_seminar.py index 754bc64a..31262047 100644 --- a/utils/create_trojsten_seminar.py +++ b/utils/create_trojsten_seminar.py @@ -210,7 +210,7 @@ sciences: - {sciences[args.seminar]} date: - start: "{ (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') - datetime.timedelta(days=14)).strftime('%Y-%m-%d') if args.seminar == 'SUSI' else (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') + datetime.timedelta(days=14)).strftime('%Y-%m-%d')}" + start: "{ (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') - datetime.timedelta(days=28)).strftime('%Y-%m-%d') if args.seminar == 'SUSI' else (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') + datetime.timedelta(days=14)).strftime('%Y-%m-%d')}" contestants: min: {min_year[args.seminar]} max: {max_year[args.seminar]} @@ -234,7 +234,7 @@ sciences: - {sciences[args.seminar]} date: - start: "{ (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') - datetime.timedelta(days=7)).strftime('%Y-%m-%d')}" + start: "{ (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') - datetime.timedelta(days=14)).strftime('%Y-%m-%d')}" contestants: min: {min_year[args.seminar]} max: {max_year[args.seminar]} @@ -258,7 +258,7 @@ sciences: - {sciences[args.seminar]} date: - start: "{ (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') - datetime.timedelta(days=42)).strftime('%Y-%m-%d')}" + start: "{ (datetime.datetime.strptime(f'{args.dates[i]}{args.year[:4] if part == 1 else int(args.year[:4])+1}', '%d.%m.%Y') - datetime.timedelta(days=14)).strftime('%Y-%m-%d')}" contestants: min: {min_year[args.seminar]} max: {max_year[args.seminar]}