From 6fb33410734a8e32a6fa437acc3f95b30b5981a9 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Mon, 2 Sep 2024 15:23:44 +0900 Subject: [PATCH] dateDiff(...) -> add(...) --- src/main/java/cokr/xit/base/syslog/web/LoggingController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/base/syslog/web/LoggingController.java b/src/main/java/cokr/xit/base/syslog/web/LoggingController.java index fb82165..4663bf6 100644 --- a/src/main/java/cokr/xit/base/syslog/web/LoggingController.java +++ b/src/main/java/cokr/xit/base/syslog/web/LoggingController.java @@ -59,7 +59,7 @@ public class LoggingController extends AbstractController { req.setToDate(toDate.replace("-", "")); if (isEmpty(fromDate)) { - fromDate = DataFormat.yyyy_mm_dd(dateDiff(date, -30)); + fromDate = DataFormat.yyyy_mm_dd(add(date, -30)); req.setFromDate(fromDate.replace("-", "")); } }