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

农历算法有错误 #12

Closed
deweizhu opened this issue Jul 26, 2021 · 1 comment
Closed

农历算法有错误 #12

deweizhu opened this issue Jul 26, 2021 · 1 comment

Comments

@deweizhu
Copy link

deweizhu commented Jul 26, 2021

例如:一九九六年八月二十五,干支历是:丁丑日,计算的结果显示【丙子】,这是错误的。
其实网上流传的各种库都是相互抄的,农历有很多错误的,1996年我都发现好几个了,建议用寿星天文历

@deweizhu deweizhu changed the title 农历算法查表的吧?网上很多语言的表都是有错误的 农历算法有错误 Jul 26, 2021
@Lofanmi
Copy link
Owner

Lofanmi commented Aug 1, 2021

@deweizhu 新版master分支已经是寿星天文历算法,我核对了一下,返回的是【丁丑日】,是正确的。

请打开go.mod文件,将依赖更改为master版本,重新编译再试试。

@Lofanmi Lofanmi closed this as completed Sep 12, 2021
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