v1.3.1 修复八字转阳历极端情况下仍然有遗漏的问题。
This commit is contained in:
@@ -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('己卯 庚午 庚寅 辛巳');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user