Luca Milanesio
2014-11-29 b0501c33473771ba8c2f7404f6129aa65a8f203c
src/main/java/com/gitblit/utils/JsonUtils.java
@@ -274,10 +274,10 @@
      return builder.create();
   }
   private static class GmtDateTypeAdapter implements JsonSerializer<Date>, JsonDeserializer<Date> {
   public static class GmtDateTypeAdapter implements JsonSerializer<Date>, JsonDeserializer<Date> {
      private final DateFormat dateFormat;
      private GmtDateTypeAdapter() {
      public GmtDateTypeAdapter() {
         dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US);
         dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
      }