You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try this and the algorithm gives me the wrong output: print(Lunar.from_date(datetime.date(2021, 1, 4))) --> Lunar(year=2020, month=11, day=21, isleap=False)
It should be: Lunar(year=2020, month=11, day=22, isleap=False)
The text was updated successfully, but these errors were encountered:
I think you got your date wrong. From every single converter available online, I got 2021-01-04 in solar calendar converts to 2020-11-21 in lunar calendar.
I try this and the algorithm gives me the wrong output:
print(Lunar.from_date(datetime.date(2021, 1, 4)))
-->Lunar(year=2020, month=11, day=21, isleap=False)
It should be:
Lunar(year=2020, month=11, day=22, isleap=False)
The text was updated successfully, but these errors were encountered: