-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
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分仍属惊蛰前的寅月,正确月柱应为戊寅,而非己卯。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels