Comparing version 2.3.0 to 2.3.1
@@ -10,2 +10,14 @@ # 紫微斗数 | ||
## v2.3.1 | ||
- 🛠️ 修复(fix) | ||
🇨🇳 | ||
- 修复小限年龄判断条件错误 | ||
🇺🇸 | ||
- fix age error | ||
## v2.3.0 | ||
@@ -12,0 +24,0 @@ |
@@ -49,3 +49,4 @@ "use strict"; | ||
// 但在 2023年九月初二 以后,虚岁则为 2 岁 | ||
if (((_date.lunarYear === _birthday.lunarYear && _date.lunarMonth) === _birthday.lunarMonth && | ||
if ((_date.lunarYear === _birthday.lunarYear && | ||
_date.lunarMonth === _birthday.lunarMonth && | ||
_date.lunarDay > _birthday.lunarDay) || | ||
@@ -52,0 +53,0 @@ _date.lunarMonth > _birthday.lunarMonth) { |
{ | ||
"name": "iztro", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "轻量级紫微斗数星盘生成库。可以通过出生年月日获取到紫微斗数星盘信息、生肖、星座等信息。A lightweight kit to astrolabe generator of The Purple Star Astrology (Zi Wei Dou Shu). The Purple Star Astrology(Zi Wei Dou Shu) is a Chinese ancient astrology. You're able to get your horoscope and personality from the astrolabe", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
2039448
14339