v1.3.13 修复节气当天获取下一节气仍为当前节气的问题;修复每日宜忌存在重复项的问题;修复八字转阳历存在遗漏的问题。
This commit is contained in:
@@ -2380,7 +2380,7 @@ public class Lunar {
|
||||
Solar solar = entry.getValue();
|
||||
String day = wholeDay ? solar.toYmd() : solar.toYmdHms();
|
||||
if (forward) {
|
||||
if (day.compareTo(today) < 0) {
|
||||
if (day.compareTo(today) <= 0) {
|
||||
continue;
|
||||
}
|
||||
if (null == near) {
|
||||
|
||||
Reference in New Issue
Block a user