Fix 2025 Chinese Calendar's Birthday of Buddha#2310
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2310 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 201 201
Lines 12340 12340
Branches 1771 1771
=========================================
Hits 12340 12340 ☔ View full report in Codecov by Sentry. |
|
Sorry for the multiple commits, the test keeps failing due to artifacts from local Macao branch so |
|
@PPsyrius, good catch! Indeed, the new moon is April 28, so 8th day of 4th lunar month is May 5. And this is both in the Korean and Chinese time zones. It looks like the source of our Chinese calendar needs to be checked in more detail... |
Proposed change
Fixed the wrong pre-calculated results for the 2025 Chinese Calendar-based "Birthday of Buddha" - this should've been on
MAY, 5instead ofMAY, 4as confirmed by Hong Kong's, South Korea's and Macao's calendar - the only 3 entities that observes them as holidays at the moment.I came across this by chance while sorting out test case errors for my WIP Macao implementation, and I'm surprised this wasn't spotted in our recent HK l10n implementation.
Type of change
holidaysfunctionality in general)Checklist
make check, all checks and tests are green