Skip to content

Commit

Permalink
feat: add national holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
mavi0 committed Nov 30, 2023
1 parent fb9283a commit f9a629e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ Can't code? No problem, open an [issue](https://github.com/lancaster-university/
| LU LGBT+ Society | Monday Evening 17:00 - 20:00 |
| LU Hack Society | Friday Evening 17:00 - 19:00 |
| Baby Loss Awareness Week (dates varies yearly) | 09/10/23 - 15/10/23 |
| St Andrews Day | 30th November Yearly |
| St Davids Day | 1st March Yearly |
| Europe Day | 9th May Yearly |
8 changes: 7 additions & 1 deletion web/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ config :infolab_light_games, Scheduler,
{"0 */1 5 11 *",
{Utils.StaticLoader, :display_static, ["fire.gif", {Timex.Duration, :from_hours, [1]}]}},
{"*/20 */1 25-26 11 *",
{Utils.StaticLoader, :display_static, ["lanhack-anim.gif", {Timex.Duration, :from_minutes, [10]}]}}
{Utils.StaticLoader, :display_static, ["lanhack-anim.gif", {Timex.Duration, :from_minutes, [10]}]}},
{"0 */1 30 11 *",
{Utils.StaticLoader, :display_static, ["scotland.png", {Timex.Duration, :from_hours, [1]}]}},
{"0 */1 1 3 *",
{Utils.StaticLoader, :display_static, ["wales.png", {Timex.Duration, :from_hours, [1]}]}},
{"0 */1 9 5 *",
{Utils.StaticLoader, :display_static, ["eu.png", {Timex.Duration, :from_hours, [1]}]}}
]

# Configures Elixir's Logger
Expand Down
Binary file added web/priv/static_images/eu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/priv/static_images/scotland.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/priv/static_images/wales.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f9a629e

Please sign in to comment.