Thank you for your interest in contributing to holiday-calendar! This document provides guidelines and instructions for contributing.
- Create new JSON file in
data/{region}/{year}.json
- Follow the data format:
{
"year": 2025,
"region": "CN",
"dates": [
{
"date": "2025-01-01",
"name": "元旦",
"name_cn": "元旦",
"name_en": "New Year's Day",
"type": "public_holiday"
}
]
}
- Fork the repository
- Create a new branch
- Add or update holiday data
- Submit a Pull Request with:
- Link to official holiday announcement
- Brief description of changes
- Screenshot of official announcement (if possible)
- Use 2 spaces for indentation in JSON files
- Sort dates by date
- Follow existing naming conventions
Before submitting:
- Verify all dates match official announcements
- Ensure JSON is valid
- Check all required fields are present