Skip to content

fix(se): add Paskdagen and Pingstdagen to Holidays slice#153

Merged
rickar merged 1 commit intorickar:masterfrom
mariotoffia:fix/se-add-missing-holidays-to-slice
Jan 24, 2026
Merged

fix(se): add Paskdagen and Pingstdagen to Holidays slice#153
rickar merged 1 commit intorickar:masterfrom
mariotoffia:fix/se-add-missing-holidays-to-slice

Conversation

@mariotoffia
Copy link
Contributor

Summary

  • Add Paskdagen (Easter Sunday) to the Holidays slice
  • Add Pingstdagen (Whit Sunday/Pentecost) to the Holidays slice

Problem

The Swedish holidays Paskdagen and Pingstdagen are defined as variables in the package but were not included in the convenience Holidays slice. This means users who iterate over se.Holidays to add all Swedish holidays to their calendar would be missing these two official public holidays.

Both are official Swedish public holidays ("röda dagar"):

  • Paskdagen (Påskdagen): Easter Sunday
  • Pingstdagen: 49 days after Easter (Pentecost Sunday)

Testing

  • All existing tests pass
  • The holidays were already tested individually in se_holidays_test.go

Test plan

  • Verified go test ./v2/se/... passes
  • Verified go test ./v2/... passes (all country packages)

🤖 Generated with Claude Code

The Swedish holidays Paskdagen (Easter Sunday) and Pingstdagen
(Whit Sunday/Pentecost) were defined as variables but were not
included in the Holidays slice, making them unavailable when
using the convenience slice.

Both holidays are official Swedish public holidays ("röda dagar"):
- Paskdagen: Easter Sunday
- Pingstdagen: 49 days after Easter (Pentecost Sunday)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rickar rickar merged commit 17c5a87 into rickar:master Jan 24, 2026
2 checks passed
@rickar
Copy link
Owner

rickar commented Jan 24, 2026

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants