Skip to content

Commit

Permalink
Merge pull request #482 from ZeusWPI/newyear-dsv-2024
Browse files Browse the repository at this point in the history
Add closed because of newyear DSV
  • Loading branch information
smessie authored Jan 11, 2024
2 parents 344ddd5 + 76bdce6 commit 633154e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions server/scraper/resto/menu_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,17 @@ def teambuilding_2023_en(_path, original):
original["open"] = False
return original

def newyear_dsv_2024_nl(_path, original):
add_or_append(original, "Op vrijdag 12 januari is resto De Brug gesloten, cafetaria De Brug is wel open. ")
original["open"] = True
return original


def newyear_dsv_2024_en(_path, original):
add_or_append(original, "On Friday January 12th, resto De Brug will be closed, cafeteria De Brug will be open.")
original["open"] = True
return original


def create_changes(root_path):
return [
Expand Down Expand Up @@ -1309,6 +1320,20 @@ def create_changes(root_path):
end=date(2023, 9, 19),
all_days=True
),
ManualChange(
replacer=newyear_dsv_2024_nl,
resto=["nl-debrug", "nl"],
start=date(2024, 1, 12),
end=date(2024, 1, 12),
all_days=True
),
ManualChange(
replacer=newyear_dsv_2024_en,
resto=["en"],
start=date(2024, 1, 12),
end=date(2024, 1, 12),
all_days=True
),
]


Expand Down

0 comments on commit 633154e

Please sign in to comment.