fix rate_warning

master
luoyang 6 years ago
parent 9fe7652c25
commit dda02d8e31

@ -618,7 +618,7 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
Date expiryTime = client.getDate("expiry_time"); Date expiryTime = client.getDate("expiry_time");
client.put("generatable", expiryTime != null); client.put("generatable", expiryTime != null);
if (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); warnings.put("no_rate", rateInDanger);

Loading…
Cancel
Save