Developer Builds API to Fix China's Adjusted Workday Blind Spot in Holiday Tools
A backend developer has identified a critical gap in mainstream holiday APIs — platforms like Calendarific, HolidayAPI.com, and Nager.Date correctly list China's public holidays but fail to account for '调休补班', weekend days mandated as workdays under China's holiday compensation system. In 2026, six such weekend workdays are scheduled, as officially announced by China's State Council in November 2025. This omission can cause real-world errors in employee scheduling, attendance tracking, order delivery estimates, and automated cron jobs. To address this, the developer built the Global Holidays API, available on RapidAPI, which covers 501 countries and regions and incorporates China's adjusted workdays sourced directly from official State Council notices. The API allows developers to query whether a specific date is a workday, retrieve all adjusted workdays for a given year, and analyse date ranges for accurate workday counts.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in