diff --git a/lunar.js b/lunar.js index a6cf6c2..16001af 100644 --- a/lunar.js +++ b/lunar.js @@ -1278,7 +1278,7 @@ // 寅月起,所以需要-2 var monthIndex = this._p.monthZhiIndex-2; if(monthIndex<0){ - monthIndex += 12 + monthIndex += 12; } var index = start-monthIndex-1; if(index<0){ diff --git a/package.json b/package.json index a0a3f73..1be2c56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lunar-javascript", - "version": "1.0.24", + "version": "1.0.25", "description": "lunar is a calendar library for Solar and Chinese Lunar.", "main": "index.js", "scripts": {