I had imported "date-fns": "^4.1.0" and "date-fns-tz": "^3.2.0" But it returns
Error: wrong solar year NaN
at _fromYmdHms (lunar.js:72:15)
at Object.fromYmd (lunar.js:623:38)
at getLunarDate (lunar.js:3:25)
at getFourPillars (four-pillars.js:239:19)
at getSaju (index.js:24:25)
I am using date-fns for other library but I added luxon for @gracefullight/saju.
But I want to use only one library for date system.
How to use date-fns in @gracefullight/saju?
I had imported "date-fns": "^4.1.0" and "date-fns-tz": "^3.2.0" But it returns
I am using date-fns for other library but I added luxon for @gracefullight/saju.
But I want to use only one library for date system.
How to use date-fns in @gracefullight/saju?