diff --git a/fine-socketio/src/com/fr/third/socketio/protocol/JacksonJsonSupport.java b/fine-socketio/src/com/fr/third/socketio/protocol/JacksonJsonSupport.java index 7737ff291..9f607705f 100644 --- a/fine-socketio/src/com/fr/third/socketio/protocol/JacksonJsonSupport.java +++ b/fine-socketio/src/com/fr/third/socketio/protocol/JacksonJsonSupport.java @@ -26,6 +26,7 @@ import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; +import java.util.TimeZone; import com.fr.third.socketio.AckCallback; import com.fr.third.socketio.MultiTypeAckCallback; @@ -324,6 +325,8 @@ public class JacksonJsonSupport implements JsonSupport { objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); objectMapper.configure(SerializationFeature.WRITE_BIGDECIMAL_AS_PLAIN, true); objectMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); + + objectMapper.setTimeZone(TimeZone.getDefault()); } @Override