fix app夏令时

master
luoyang 5 years ago
parent ef764cc2f8
commit c839f31b97

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.2.47</version>
<version>1.2.48</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -38,9 +38,6 @@ public class AppQueryBean {
public JSONObject toParams() {
JSONObject params = new JSONObject();
if (timezone != null) {
format.setTimeZone(TimeZone.getTimeZone(timezone));
}
if (begin != null) {
try {
params.put("begin", TimeZoneUtils.formatTime(format.parse(begin),"yyyy-MM-dd HH:mm:ss",StringUtils.isNotBlank(timezone)?timezone:"Australia/Melbourne"));

Loading…
Cancel
Save