mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Changed return date format to UTC date
This commit is contained in:
parent
83442b0bca
commit
475b832c59
@ -50,7 +50,7 @@ public class GsonMessageBodyHandler implements MessageBodyWriter<Object>, Messag
|
||||
private Gson getGson() {
|
||||
if (gson == null) {
|
||||
final GsonBuilder gsonBuilder = new GsonBuilder();
|
||||
gson = gsonBuilder.create();
|
||||
gson = gsonBuilder.setDateFormat("EEE, d MMM yyyy HH:mm:ss Z").create();
|
||||
}
|
||||
return gson;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user