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

py项目与java实现给出的八字结果不一致 #8

Open
Johnhushwill opened this issue Nov 7, 2022 · 3 comments
Open

py项目与java实现给出的八字结果不一致 #8

Johnhushwill opened this issue Nov 7, 2022 · 3 comments

Comments

@Johnhushwill
Copy link

lunar = Lunar.fromYmdHms(1991, 4, 5, 3, 37, 0)
print(lunar.getEightChar())
结果:辛未 癸巳 戊子 甲寅
py项目与java实现给出的八字结果
辛未 | 辛卯 | 乙巳 | 戊寅
不一致,py实现是否还在开发跟新当中

@6tail
Copy link
Owner

6tail commented Nov 8, 2022

我测了各个版本都是:辛未 癸巳 戊子 甲寅

@Johnhushwill
Copy link
Author

Johnhushwill commented Nov 9, 2022

抱歉我表述有误,是我是用错库中的方法,
image
fromDate()与fromYmdHms()时间1991-04-05 @03:37:00给出了不同的结果,没看清后者是阴历入参,谢谢解答。很全面的历法库image

@walkerone
Copy link

你这个很棒

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

3 participants