From dfac33e1912823ca5fb99570df49aab46d5465fd Mon Sep 17 00:00:00 2001 From: sleepingzhao <45935374+sleepingzhao@users.noreply.github.com> Date: Tue, 18 Jul 2023 11:41:33 +0800 Subject: [PATCH] fix variable DEFAULT_DATE_FORMAT name --- src/main/java/com/alibaba/fastjson/JSON.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/alibaba/fastjson/JSON.java b/src/main/java/com/alibaba/fastjson/JSON.java index 6159c72b1b..147e5c5009 100644 --- a/src/main/java/com/alibaba/fastjson/JSON.java +++ b/src/main/java/com/alibaba/fastjson/JSON.java @@ -67,7 +67,7 @@ public abstract class JSON implements JSONStreamAware, JSONAware { public static Locale defaultLocale = Locale.getDefault(); public static String DEFAULT_TYPE_KEY = "@type"; static final SerializeFilter[] emptyFilters = new SerializeFilter[0]; - public static String DEFFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss"; + public static String DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss"; public static int DEFAULT_PARSER_FEATURE; public static int DEFAULT_GENERATE_FEATURE;