Skip to content

Commit

Permalink
Update automation-4.2-xmas-countdown.yaml
Browse files Browse the repository at this point in the history
Update of the word 'till to 'til .... good grammar and language is life!
  • Loading branch information
chunkysteveo authored Nov 27, 2024
1 parent a69de8c commit ebdf99b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation-4.2-xmas-countdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ alias: Epaper Tags - Xmas Advent Countdown 4.2 Inch Version
description: >-
Count down the days till Christmas Day! All images are pulled down from an external server
(https://www.chunkymedia.co.uk) - to keep you surprised (don't look!)! All images are royalty
free from Pixabay, or AI generated (apart from Grinch!). The text used is 'Days 'till Christmas', 'Day 'till
free from Pixabay, or AI generated (apart from Grinch!). The text used is 'Days 'til Christmas', 'Day 'til
Christmas', and 'Merry Christmas'. Days of the week and months (4.2 version) can be found in the
variables section below - adjust according to your local language.
Edit in YAML!
Expand Down Expand Up @@ -96,7 +96,7 @@ actions:
- type: text
value: |-
{% if days_until_xmas > 0 %}
{{ ("Days" if days_until_xmas > 1 else "Day") | string + " 'till"}}
{{ ("Days" if days_until_xmas > 1 else "Day") | string + " 'til"}}
{% else %}
Merry
{% endif %}
Expand Down

0 comments on commit ebdf99b

Please sign in to comment.