Skip to content

Commit b033490

Browse files
authored
Update WxLongTimeJsonSerializer.java
修复错误的日期格式
1 parent fd38444 commit b033490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/json/WxLongTimeJsonSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
public class WxLongTimeJsonSerializer extends JsonSerializer<Long> {
1515
private static SimpleDateFormat DF = new SimpleDateFormat(
16-
"yyyy-MM-dd hh:mm:ss");
16+
"yyyy-MM-dd HH:mm:ss");
1717

1818
@Override
1919
public void serialize(Long value, JsonGenerator gen,

0 commit comments

Comments
 (0)