update 2026 holidays

This commit is contained in:
Shuanglei Tao
2025-11-05 10:12:06 +08:00
parent 8211ca3202
commit 826b669d8b

View File

@@ -30,11 +30,11 @@ static const Festival festivals_lunar[] = {
}; };
// 放假和调休数据,每年更新 // 放假和调休数据,每年更新
#define HOLIDAY_YEAR 2025 #define HOLIDAY_YEAR 2026
static const uint16_t holidays[] = { static const uint16_t holidays[] = {
0x0101, 0x111A, 0x011C, 0x011D, 0x011E, 0x011F, 0x0201, 0x0202, 0x0202, 0x0203, 0x0204, 0x1208, 0x0101, 0x0102, 0x0103, 0x1104, 0x120E, 0x020F, 0x0210, 0x0211, 0x0212, 0x0213, 0x0214, 0x0215, 0x0216,
0x0404, 0x0405, 0x0406, 0x141B, 0x0501, 0x0502, 0x0503, 0x0504, 0x0505, 0x051F, 0x0601, 0x0602, 0x0217, 0x121C, 0x0404, 0x0405, 0x0406, 0x0501, 0x0502, 0x0503, 0x0504, 0x0505, 0x1509, 0x0613, 0x0614,
0x191C, 0x0A01, 0x0A02, 0x0A03, 0x0A04, 0x0A05, 0x0A06, 0x0A07, 0x0A08, 0x1A0B, 0x0615, 0x0919, 0x091A, 0x091B, 0x1914, 0x0A01, 0x0A02, 0x0A03, 0x0A04, 0x0A05, 0x0A06, 0x0A07, 0x1A0A,
}; };
static bool GetHoliday(uint8_t mon, uint8_t day, bool* work) { static bool GetHoliday(uint8_t mon, uint8_t day, bool* work) {