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

阳历2034.1.1转换错误 lunar.py 167行 #3

Open
baoshuang opened this issue Mar 28, 2020 · 1 comment
Open

阳历2034.1.1转换错误 lunar.py 167行 #3

baoshuang opened this issue Mar 28, 2020 · 1 comment

Comments

@baoshuang
Copy link

baoshuang commented Mar 28, 2020

self.lunarMonth = _leap_month # (_leap_month << 4) | self.lunarMonth
self.isLunarLeapMonth = True

致: 感谢作者提供此好用的库

@cuba3
Copy link
Member

cuba3 commented Mar 30, 2020

self.lunarMonth = _leap_month # (_leap_month << 4) | self.lunarMonth
self.isLunarLeapMonth = True

致: 感谢作者提供此好用的库

感谢提醒,这个问题我在本地改了,网络问题代码没提交成功,现在才发现。已修复

原来这个项目是一个倍数输出,为了方便改闰月中文
将原来的大于12输出判断
# self.lunarMonth = self.lunarMonth | (_leap_month << 4)
改成布尔输出
self.isLunarLeapMonth = True
再次感谢。

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