Skip to content

20250305 0:10月柱错误 #47

@peterz3g

Description

@peterz3g

import cnlunar
a = cnlunar.Lunar(datetime.datetime(2025, 3, 5 , 0, 10))
print(f"{a.get_year8Char()}年 {a.get_month8Char()}月 {a.get_day8Char()}日 {a.get_twohour8Char()}时")

乙巳年 己卯月 癸酉日 壬子时

应该是:乙巳年 戊寅月
原因:2025年惊蛰在3月5日22时44分(北京时间),因此3月5日0点10分仍属惊蛰前的寅月,正确月柱应为戊寅,而非己卯。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions