lunisolar icon indicating copy to clipboard operation
lunisolar copied to clipboard

1986年到1991年间 阴历转阳历时辰出错

Open marga8080 opened this issue 7 months ago • 4 comments

1986年到1991年间 这六年 阴历转阳历时辰出错 比如农历1986年6月11日午时

let ymd = {
                year: 1986,
                month: 6,
                day: 11,
                hour: '午'
            }
            // console.log(ymd)
            const ob = lunisolar.fromLunar(ymd)
            console.log(ob.format('YYYY-MM-DD HH:mm'))

正确应该是1986-07-17 12:00 但是得到的却是1986-07-17 13:00

marga8080 avatar Jul 16 '24 03:07 marga8080