Use CST timezone.

This commit is contained in:
Keir 2015-12-29 05:23:18 +00:00
parent 912b4aa4c8
commit 278932b9b8
1 changed files with 1 additions and 1 deletions

View File

@ -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))