1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Add Dragon Boat Festival

This commit is contained in:
程序员小墨 2022-11-20 00:23:20 +08:00
parent 6459569ef2
commit 21260d579e
10 changed files with 90 additions and 4 deletions

View File

@ -2,8 +2,18 @@
README待完善
build
生成holiday.json文件
```bash
node build/generate.js
```
```
创建一个新的节日
```bash
node build/create.js 节日英文名称(不带标点符号)
```
## TODO
- [ ] Dragon Boat Festival 古诗

View File

@ -17,4 +17,7 @@ let template = fs.readFileSync(path.join(__dirname, '../data/template.json'), 'u
template = JSON.parse(template);
template['id'] = holidayId;
template['englishName'] = holidayId;
template['skip'] = false;
template['subFestival'] = [];
template['commemorator'] = [];
fs.writeFileSync(path.join(__dirname, `../data/holiday/${holidayId}.json`), JSON.stringify(template, null, 4));

View File

@ -41,7 +41,10 @@
"organization": "晋文公",
"startingTime": "春秋",
"popularAreas": "东亚文化圈",
"commemorator": [],
"intangibleCulturalHeritageProtectionUnit": "",
"nationalCulturalHeritage": "",
"worldCulturalHeritage": "",
"baike": "https://baike.baidu.com/item/%E5%AF%92%E9%A3%9F%E8%8A%82/90690",
"poetry": [
{

View File

@ -0,0 +1,52 @@
{
"id": "Dragon Boat Festival",
"skip": false,
"name": "端午节",
"fullName": "端午节",
"englishName": "Dragon Boat Festival",
"alias": [
"端阳节",
"龙节",
"正阳节",
"龙舟节",
"天中节"
],
"friendlyDate": "农历五月初五",
"date": "5/5",
"calendar": "lunar",
"friendlyType": "中国四大传统节日之一",
"type": "Chinese-4",
"statutory": true,
"solarTerms": false,
"desc": "端午节,又称端阳节、龙舟节、重五节、天中节等,是集拜神祭祖、祈福辟邪、欢庆娱乐和饮食为一体的民俗大节。端午节源于自然天象崇拜,由上古时代祭龙演变而来。仲夏端午,苍龙七宿飞升于正南中央,处在全年最“中正”之位,正如《易经·乾卦》第五爻:“飞龙在天”。端午是“飞龙在天”吉祥日,龙及龙舟文化始终贯穿在端午节的传承历史中。",
"subFestival": [],
"activity": [
"扒龙船",
"放纸鸢",
"挂艾草菖蒲"
],
"food": [
"粽子",
"五黄",
"咸鸭蛋",
"绿豆糕"
],
"origin": "天象崇拜,龙图腾祭祀",
"meaning": "传承与弘扬非物质文化",
"process": "",
"location": "",
"organization": "",
"startingTime": "上古时代",
"popularAreas": "中国及汉字文化圈诸国",
"commemorator": [
"屈原",
"伍子胥",
"曹娥",
"介子推"
],
"intangibleCulturalHeritageProtectionUnit": "非物质文化遗产保护单位",
"nationalCulturalHeritage": "2006年5月20日列入第一批名录",
"worldCulturalHeritage": "2009年9月30日入选世界名录",
"baike": "https://baike.baidu.com/item/%E7%AB%AF%E5%8D%88%E8%8A%82/1054",
"poetry": []
}

View File

@ -25,7 +25,10 @@
"organization": "第二国际",
"startingTime": "1890年",
"popularAreas": "世界绝大部分国家",
"commemorator": [],
"intangibleCulturalHeritageProtectionUnit": "",
"nationalCulturalHeritage": "",
"worldCulturalHeritage": "",
"baike": "https://baike.baidu.com/item/%E4%BA%94%E4%B8%80%E5%9B%BD%E9%99%85%E5%8A%B3%E5%8A%A8%E8%8A%82/810559",
"poetry": []
}

View File

@ -32,7 +32,10 @@
"organization": "中国人民政治协商会议",
"startingTime": "1949年9月27日",
"popularAreas": "世界各地",
"commemorator": [],
"intangibleCulturalHeritageProtectionUnit": "",
"nationalCulturalHeritage": "",
"worldCulturalHeritage": "",
"baike": "https://baike.baidu.com/item/%E5%85%83%E6%97%A6/137017",
"poetry": [
{

View File

@ -302,7 +302,10 @@
"organization": "",
"startingTime": "上古时代",
"popularAreas": "中国,东亚、东南亚等华人华侨聚集地",
"commemorator": [],
"intangibleCulturalHeritageProtectionUnit": "文化和旅游部",
"nationalCulturalHeritage": "",
"worldCulturalHeritage": "",
"baike": "https://baike.baidu.com/item/%E6%98%A5%E8%8A%82/136876",
"poetry": []
}

View File

@ -44,7 +44,10 @@
"organization": "",
"startingTime": "",
"popularAreas": "中国、东亚、东南亚等华人华侨聚集地",
"commemorator": [],
"intangibleCulturalHeritageProtectionUnit": "文化和旅游部",
"nationalCulturalHeritage": "",
"worldCulturalHeritage": "",
"baike": "https://baike.baidu.com/item/%E6%B8%85%E6%98%8E%E8%8A%82/137575",
"poetry": [
{

View File

@ -3,5 +3,6 @@
"Spring Festival",
"Cold food festival",
"Tomb-Sweeping Day",
"International Workers Day"
"International Workers Day",
"Dragon Boat Festival"
]

View File

@ -41,9 +41,14 @@
"process": "节日流程",
"location": "节日设定地点",
"organization": "设立机构",
"startingTime": "设立时间",
"startingTime": "设立时间/起源时期",
"popularAreas": "流行地区",
"commemorator": [
"纪念人物"
],
"intangibleCulturalHeritageProtectionUnit": "非物质文化遗产保护单位",
"nationalCulturalHeritage": "国家文化遗产",
"worldCulturalHeritage": "世界文化遗产",
"baike": "百度百科地址",
"poetry": [
{