1
0
mirror of synced 2025-11-06 05:00:34 +08:00

v1.7.1 修复每日宜忌错误。

This commit is contained in:
6tail
2025-02-27 21:36:09 +08:00
parent 0d226722d6
commit 2fedf45007
6 changed files with 18 additions and 11 deletions

View File

@@ -22,3 +22,6 @@
## [1.7.0] - 2025-02-12
1. 修复每日宜忌错别字。
## [1.7.1] - 2025-02-27
1. 修复每日宜忌错误。

View File

@@ -16,7 +16,7 @@ lunar是一款无第三方依赖的公历(阳历)、农历(阴历、老黄历)
<dependency>
<groupId>cn.6tail</groupId>
<artifactId>lunar</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
```

View File

@@ -12,7 +12,7 @@ lunar is a calendar library for Solar and Chinese Lunar.
<dependency>
<groupId>cn.6tail</groupId>
<artifactId>lunar</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
```

View File

@@ -7,7 +7,7 @@
<groupId>cn.6tail</groupId>
<artifactId>lunar</artifactId>
<packaging>jar</packaging>
<version>1.7.0</version>
<version>1.7.1</version>
<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/6tail/lunar-java</url>
<description>a calendar library for Solar and Chinese Lunar</description>

File diff suppressed because one or more lines are too long

View File

@@ -650,4 +650,11 @@ public class LunarTest {
Assert.assertEquals("", lunar.getZhiXing());
}
@Test
public void test96() {
Lunar lunar = Solar.fromYmd(2025, 2, 7).getLunar();
Assert.assertEquals("[嫁娶, 祭祀, 祈福, 出行, 解除, 出火, 拆卸, 动土, 入宅, 移徙, 安床, 上梁, 栽种, 纳畜, 破土, 启钻, 安葬]", lunar.getDayYi().toString());
Assert.assertEquals("[开市, 立券, 理发, 作灶]", lunar.getDayJi().toString());
}
}