v1.7.1 修复每日宜忌错误。
This commit is contained in:
@@ -22,3 +22,6 @@
|
||||
|
||||
## [1.7.0] - 2025-02-12
|
||||
1. 修复每日宜忌错别字。
|
||||
|
||||
## [1.7.1] - 2025-02-27
|
||||
1. 修复每日宜忌错误。
|
||||
|
||||
@@ -16,7 +16,7 @@ lunar是一款无第三方依赖的公历(阳历)、农历(阴历、老黄历)
|
||||
<dependency>
|
||||
<groupId>cn.6tail</groupId>
|
||||
<artifactId>lunar</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>1.7.1</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
||||
@@ -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>
|
||||
```
|
||||
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -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
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user