Compare commits

..

No commits in common. "993d09bea0e39b40e150c9576674a9afc7f6122a" and "19852867dfa0da0781b28c506287c0e12ce7ad73" have entirely different histories.

2 changed files with 10 additions and 77 deletions

View file

@ -17,14 +17,14 @@
# time: "13:00-17:00" # time: "13:00-17:00"
# current: true # current: true
# - danish_title: "Søndag d. 31. marts 2024" - danish_title: "Søndag d. 31. marts 2024"
# danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder." danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
# danish_text_extra: "" danish_text_extra: ""
# english_title: "Sunday March 31th 2024" english_title: "Sunday March 31th 2024"
# english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee" english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
# english_text_extra: "" english_text_extra: ""
# time: "13:00-17:00" time: "13:00-17:00"
# current: true current: true
- danish_title: "Søndag d. 28. april 2024" - danish_title: "Søndag d. 28. april 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder." danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
@ -33,7 +33,7 @@
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee" english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: "" english_text_extra: ""
time: "13:00-17:00" time: "13:00-17:00"
current: true current: false
- danish_title: "Søndag d. 26. maj 2024" - danish_title: "Søndag d. 26. maj 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder." danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
@ -51,58 +51,4 @@
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee" english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: "" english_text_extra: ""
time: "13:00-17:00" time: "13:00-17:00"
current: false current: false
- danish_title: "Søndag d. 28. juli 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
danish_text_extra: ""
english_title: "Sunday July 28th 2024"
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: ""
time: "13:00-17:00"
current: false
- danish_title: "Søndag d. 25. august 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
danish_text_extra: ""
english_title: "Sunday August 25th 2024"
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: ""
time: "13:00-17:00"
current: false
- danish_title: "Søndag d. 29. september 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
danish_text_extra: ""
english_title: "Sunday September 29th 2024"
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: ""
time: "13:00-17:00"
current: false
- danish_title: "Søndag d. 27. oktober 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
danish_text_extra: ""
english_title: "Sunday October 27th 2024"
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: ""
time: "13:00-17:00"
current: false
- danish_title: "Søndag d. 24. november 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
danish_text_extra: ""
english_title: "Sunday November 24th 2024"
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: ""
time: "13:00-17:00"
current: false
- danish_title: "Søndag d. 29. december 2024"
danish_text: "Fra kl. 13 til 17 er der igen #cryptohagen på Café Mellemrummet. Kom ned og sig hej, drik en kop lækker kaffe, og få en sludder."
danish_text_extra: ""
english_title: "Sunday December 29th 2024"
english_text: "#Cryptohagen at Café Mellemrummet is on again. From 1 PM to 5 PM. Come by for a chat and get yourself a nice cup of coffee"
english_text_extra: ""
time: "13:00-17:00"
current: false

View file

@ -1,13 +0,0 @@
import sys
import calendar
year = 2024
if len(sys.argv) > 1:
try:
year = int(sys.argv[-1])
except ValueError:
pass
for month in range(1, 13):
last_sunday = max(week[-1] for week in calendar.monthcalendar(year, month))
print('{}-{}-{:2}'.format(year, calendar.month_abbr[month], last_sunday))