dateDiff(...) -> add(...)

master
mjkhan21 2 months ago
parent e71cf73454
commit 6fb3341073

@ -59,7 +59,7 @@ public class LoggingController extends AbstractController {
req.setToDate(toDate.replace("-", "")); req.setToDate(toDate.replace("-", ""));
if (isEmpty(fromDate)) { if (isEmpty(fromDate)) {
fromDate = DataFormat.yyyy_mm_dd(dateDiff(date, -30)); fromDate = DataFormat.yyyy_mm_dd(add(date, -30));
req.setFromDate(fromDate.replace("-", "")); req.setFromDate(fromDate.replace("-", ""));
} }
} }

Loading…
Cancel
Save