vanng822 / pg-lunardate

lunar date type for postgres (NOT YET WORKING WITH LEAP MONTH)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leap Month Bug

GongSong opened this issue · comments

I try to excute the SQL [select '2025-07-24'::date::lunardate;], but the result is [2025-07-01].
Actually lunardate of [2025-07-24] is [2025-06-30].
I also try to use the java edition, it's OK.

Look like entire that month is one day shifted