lunar-python icon indicating copy to clipboard operation
lunar-python copied to clipboard

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

Open Johnhushwill opened this issue 2 years ago • 3 comments

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

Johnhushwill avatar Nov 07 '22 15:11 Johnhushwill

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

6tail avatar Nov 08 '22 12:11 6tail

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

Johnhushwill avatar Nov 09 '22 02:11 Johnhushwill

你这个很棒

walkerone avatar Aug 28 '23 01:08 walkerone