1
0
mirror of synced 2026-02-05 04:28:01 +08:00

v1.3.1 修复八字转阳历极端情况下仍然有遗漏的问题。

This commit is contained in:
6tail
2023-02-06 21:05:44 +08:00
parent f4e6fa3c9a
commit b926be0022
2 changed files with 9 additions and 1 deletions

View File

@@ -177,3 +177,7 @@ test('test11', () => {
expect(eightChar.getDay()).toBe('庚子');
expect(eightChar.getTime()).toBe('戊子');
});
test('test12', () => {
expect(Solar.fromYmdHms('1999', '06', '07', '09', '11', '00').getLunar().getEightChar().toString()).toBe('己卯 庚午 庚寅 辛巳');
});