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

生肖计算不对 #28

Open
mrxlhm opened this issue Nov 9, 2018 · 2 comments
Open

生肖计算不对 #28

mrxlhm opened this issue Nov 9, 2018 · 2 comments

Comments

@mrxlhm
Copy link

mrxlhm commented Nov 9, 2018

阳历日期:1939-01-06
阴历日期:1938冬月十六
生肖:虎

计算结果生肖为:兔

以上仅仅是我提供的一个日期,还有后续好多日期都有问题

问题2:

string(10) "2001-02-02"
string(16) "2001正月初十"
string(16) "2001正月初十"
string(3) "蛇"
string(3) "蛇"
string(10) "2001-02-03"
string(16) "2001正月十一"
string(16) "2001正月十一"
string(3) "蛇"
string(3) "蛇"
string(10) "2001-02-04"
string(16) "2001正月十二"
string(16) "2001正月十二"
string(3) "蛇"
string(3) "马" //此处生肖突然变化。。。
string(10) "2001-02-05"
string(16) "2001正月十三"
string(16) "2001正月十三"
string(3) "蛇"
string(3) "蛇"

@fuxu
Copy link

fuxu commented Nov 12, 2018

生肖的分隔点是"立春"

@gclinux
Copy link

gclinux commented Apr 17, 2020

这个没错 生肖是按节气来算的

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