Use CST timezone.
This commit is contained in:
parent
912b4aa4c8
commit
278932b9b8
|
@ -26,7 +26,7 @@ import redis.clients.jedis.JedisPool;
|
||||||
*/
|
*/
|
||||||
public class SnapshotPublisher
|
public class SnapshotPublisher
|
||||||
{
|
{
|
||||||
private static final ZoneId ZONE_ID = ZoneId.of("US/Central");
|
private static final ZoneId ZONE_ID = ZoneId.of("CST");
|
||||||
private static final Gson GSON = new GsonBuilder()
|
private static final Gson GSON = new GsonBuilder()
|
||||||
.setPrettyPrinting()
|
.setPrettyPrinting()
|
||||||
.registerTypeAdapter(LocalDateTime.class, new LocalDateTimeSerializer(ZONE_ID))
|
.registerTypeAdapter(LocalDateTime.class, new LocalDateTimeSerializer(ZONE_ID))
|
||||||
|
|
Loading…
Reference in New Issue