Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chinese Mainland PH #406

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/holidays/cn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
_nominatim_url: 'https://nominatim.openstreetmap.org/search?format=json&country=%E4%B8%AD%E5%9B%BD&&zoom=18&addressdetails=1&limit=1&accept-language=zh,en'

PH: # https://zh.wikipedia.org/wiki/中华人民共和国节日与公众假期
- {'name': '元旦', 'fixed_date': [1,1]}
- {'name': ' 妇女节', 'fixed_date':[3,8] }
SierraIm marked this conversation as resolved.
Show resolved Hide resolved
- {'name': '劳动节', 'fixed_date': [5,1]}
- {'name': '青年节', 'fixed_date':[5,4] }
- {'name': '儿童节', 'fixed_date': [6,1]}
- {'name': '国庆节', 'fixed_date':[10,1] }
西藏自治区:
_state_code: 西藏自治区
SierraIm marked this conversation as resolved.
Show resolved Hide resolved
_nominatim_url: 'https://nominatim.openstreetmap.org/search?format=json&state=%E8%A5%BF%E8%97%8F%E8%87%AA%E6%B2%BB%E5%8C%BA&zoom=1&addressdetails=1&limit=1&accept-language=zh,en'
PH:
- {'name': '元旦', 'fixed_date': [1,1]}
- {'name': '西藏百万农奴解放纪念日', 'fixed_date': [3,28]}
- {'name': ' 妇女节', 'fixed_date':[3,8] }
- {'name': '劳动节', 'fixed_date': [5,1]}
- {'name': '青年节', 'fixed_date':[5,4] }
- {'name': '儿童节', 'fixed_date': [6,1]}
- {'name': '国庆节', 'fixed_date':[10,1] }