From 77f875f8ae4c0220f531bd6df827adc9c32da9b1 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Mon, 7 Mar 2022 17:27:52 +0100 Subject: [PATCH] updated dates for 2022 --- include/scripts/monthly_color_scene.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/include/scripts/monthly_color_scene.yaml b/include/scripts/monthly_color_scene.yaml index 69e75e5..2c93d2b 100644 --- a/include/scripts/monthly_color_scene.yaml +++ b/include/scripts/monthly_color_scene.yaml @@ -29,34 +29,31 @@ monthly_color_scene: {%- elif now().strftime("%m%d")|int >= 210 and now().strftime("%m%d")|int <= 214 -%} valentine - {%- elif now().strftime("%m%d")|int == 305 -%} + {%- elif now().strftime("%m%d")|int == 221 -%} mardi_gras {%- elif now().strftime("%m%d")|int == 314 -%} pi {%- elif now().strftime("%m%d")|int >= 315 and now().strftime("%m%d")|int <= 317 -%} st_patty - {%- elif now().strftime("%m%d")|int >= 324 - and now().strftime("%m%d")|int <= 330 -%} - st_patty - {%- elif now().strftime("%m%d")|int >= 401 - and now().strftime("%m%d")|int <= 413 -%} + {%- elif now().strftime("%m%d")|int >= 410 + and now().strftime("%m%d")|int <= 418 -%} easter {%- elif now().strftime("%m%d")|int == 504 -%} starwars {%- elif now().strftime("%m%d")|int == 505 -%} cinco_de_mayo - {%- elif now().strftime("%m%d")|int == 510 -%} + {%- elif now().strftime("%m%d")|int == 508 -%} mothers_day {%- elif now().strftime("%m%d")|int == 605 -%} fathers_day {%- elif now().strftime("%m%d")|int >= 1020 and now().strftime("%m%d")|int <= 1031 -%} halloween - {%- elif now().strftime("%m%d")|int >= 1128 - and now().strftime("%m%d")|int <= 1130 -%} + {%- elif now().strftime("%m%d")|int >= 1123 + and now().strftime("%m%d")|int <= 1124 -%} thanksgiving - {%- elif now().strftime("%m%d")|int >= 1125 + {%- elif now().strftime("%m%d")|int >= 1210 and now().strftime("%m%d")|int <= 1230 -%} christmas {%- elif now().strftime("%m%d")|int == 1231 -%}