Changed return date format to UTC date

revert-70aa11f8
Chatura Dilan Perera 8 years ago
parent 83442b0bca
commit 475b832c59

@ -50,7 +50,7 @@ public class GsonMessageBodyHandler implements MessageBodyWriter<Object>, Messag
private Gson getGson() { private Gson getGson() {
if (gson == null) { if (gson == null) {
final GsonBuilder gsonBuilder = new GsonBuilder(); final GsonBuilder gsonBuilder = new GsonBuilder();
gson = gsonBuilder.create(); gson = gsonBuilder.setDateFormat("EEE, d MMM yyyy HH:mm:ss Z").create();
} }
return gson; return gson;
} }

Loading…
Cancel
Save