Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit 8ead1cb

Browse files
committed
fix: Santa no longer arrives
1 parent a1ded86 commit 8ead1cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ async fn notify(client: Http) -> Result<()> {
167167
if now.weekday() == Weekday::Sun
168168
&& now.hour() == 19
169169
&& now.minute() == 50
170-
&& ((now.year() == 2024 && now.month() == 12) || is_christmas_2025_event(now))
170+
&& ((now.year() == 2024 && now.month() == 12)
171+
|| (now.year() == 2025 && is_christmas_2025_event(now)))
171172
{
172173
let santa_timestamp_start = now + Duration::from_secs(600);
173174

0 commit comments

Comments
 (0)