fix rate_warning

master
luoyang 6 years ago
parent a2de0ea35e
commit a78fd1542d

@ -618,7 +618,7 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
Date expiryTime = client.getDate("expiry_time");
client.put("generatable", expiryTime != null);
if (expiryTime != null) {
client.put("expiry_time", expiryTime.getTime());
client.put("expiry_time", DateFormatUtils.format(client.getDate("expiry_time"), "dd/MM/yyyy"));
}
}
warnings.put("no_rate", rateInDanger);

Loading…
Cancel
Save