-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Milestone
Description
ObjectMapper is configured with GMT timezone:
protected final static BaseSettings DEFAULT_BASE = new BaseSettings(
null, // can not share global ClassIntrospector any more (2.5+)
DEFAULT_ANNOTATION_INTROSPECTOR,
STD_VISIBILITY_CHECKER, null, TypeFactory.defaultInstance(),
null, StdDateFormat.instance, null,
Locale.getDefault(),
// TimeZone.getDefault()
TimeZone.getTimeZone("GMT"), // <= HERE
Base64Variants.getDefaultVariant() // 2.1
);
(it's on line 280)
But on many places in documentation and even in javadoc it's written that it's configured with UTC timezone. It is even cleaner to use UTC.
Metadata
Metadata
Assignees
Labels
No labels