GithubHelp home page GithubHelp logo

Comments (11)

6tail avatar 6tail commented on May 30, 2024

你能提供一下对比结果示例么,2021年全都不一样?

from lunar-python.

6tail avatar 6tail commented on May 30, 2024

@darknli 你能提供一下对比结果示例么,有哪些地方不一样?

from lunar-python.

wuchangda1989 avatar wuchangda1989 commented on May 30, 2024

时间:2021-02-08 00:34:23
调用方式:lunar_python
Python:3.9
黄历的干支显示有误,显示为庚子(鼠)年 庚寅(虎)月 丁亥(猪)日 子(鼠)时,实际应为辛丑(牛)年 庚寅(虎)月 丁亥(猪)日 子(鼠)时

from lunar-python.

6tail avatar 6tail commented on May 30, 2024

from lunar-python.

wuchangda1989 avatar wuchangda1989 commented on May 30, 2024

没错,2月8号是庚子鼠年------------------ 原始邮件 ------------------ 发件人: "wuchangda1989"<[email protected]> 发送时间: 2021年2月8日(星期一) 凌晨0:36 收件人: "6tail/lunar-python"<[email protected]>; 抄送: "6tail"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [6tail/lunar-python] 您好,2021年的黄历好像有问题 (#3)

2021.2.8已经是辛丑牛年了,过了立春就是下一年。

from lunar-python.

wuchangda1989 avatar wuchangda1989 commented on May 30, 2024

@6tail
作者你在 http://6tail.cn/calendar/api.html#demo.paipan.html 里面的八字排盘,输入2.8这一天,也是显示辛丑年的,所以是你源代码里有某个bug?
另外,我是学命理的,可以确定,2.3晚上立春时间一到,就算辛丑年了。

from lunar-python.

6tail avatar 6tail commented on May 30, 2024

from lunar-python.

wuchangda1989 avatar wuchangda1989 commented on May 30, 2024

八字是八字,农历是农历,我文档写得很清楚,你不要搞混了。八字里是立春没错,国家标准是正月初一。我提供了三套方案:1、正月初一,2、立春零时,3、立春精确时刻。

抱歉,是我没注意看说明文档。
不过,生肖定年一直是按照万年历的立春精确时刻来定的。国家标准定的是春节节庆,正月初一是农历理法。仅供参考~

from lunar-python.

wuchangda1989 avatar wuchangda1989 commented on May 30, 2024

问题已经解决谢谢楼主的奉献

from lunar-python.

6tail avatar 6tail commented on May 30, 2024

from lunar-python.

6tail avatar 6tail commented on May 30, 2024

from lunar-python.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.