lunar-lite
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -72,3 +72,3 @@ "use strict"; | ||
var leapMonth = lunarYear.getLeapMonth(); | ||
if (leapMonth > 0 && isLeapMonth) { | ||
if (leapMonth > 0 && leapMonth === month && isLeapMonth) { | ||
lunar = lunar_typescript_1.Lunar.fromYmd(year, 0 - month, day); | ||
@@ -75,0 +75,0 @@ } |
{ | ||
"name": "lunar-lite", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "精简版的农历和阳历日期转换库。", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25928