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

请问为何很多农历大小月不对 #29

Open
zhangjq0908 opened this issue Dec 11, 2023 · 2 comments
Open

请问为何很多农历大小月不对 #29

zhangjq0908 opened this issue Dec 11, 2023 · 2 comments

Comments

@zhangjq0908
Copy link

{'公历日期': datetime.date(2023, 5, 9), '农历年 份': '二零二三', '农历月份': '三月小', '农历日': '二十'}

@zhangjq0908
Copy link
Author

'twohour8CharList': ['丙子', '丁丑', '戊寅', '己卯', '庚辰', '辛巳', '壬午', '癸未', '甲申', '乙酉', '丙戌', '丁亥', '戊子']
时辰数据也不对,有十三个时辰

@cuba3
Copy link
Member

cuba3 commented Dec 15, 2023

{'公历日期': datetime.date(2023, 5, 9), '农历年 份': '二零二三', '农历月份': '三月小', '农历日': '二十'}

第一个问题,农历大小月分别为29天和30天,与新历大小月不一致;
第二个问题,一天确实有十三个时辰,采取的是长安时区,目前我们是北京时区,所以每天晚上11点开始是子时,到第二天晚上11点又是子时,所以一天是有十二个时辰长,但囊括了十三个时辰。

以上内容来自于《钦定协纪辨方书》由《四库全书》编撰,如有其他规范冲突,可提出扩展,或您fork后自行调整

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants