-
Notifications
You must be signed in to change notification settings - Fork 172
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
月日的干支都错了 #27
Comments
@JasonBourne33 你用的方法是“传入指定农历年月日获取农历”,所以你得到了冬月二七的干支…… |
楼上的朋友指出问题关键,你用错方法了,请注意看下文档。 @JasonBourne33 |
@JasonBourne33 不建议这样重复多次调用solar.getLunar(),每调用一次getLunar(),都会重新计算一次,运行效率太低。应该这样使用:
|
好的,已经改了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
月日的干支都错了,正确应该是 壬寅年 辛亥月 甲申日
The text was updated successfully, but these errors were encountered: