You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "sureshanaparti (via GitHub)" <gi...@apache.org> on 2025/09/11 10:43:38 UTC

Re: [PR] Update gson date format for serializing/deserializing Date in MS stats [cloudstack]

sureshanaparti commented on code in PR #11506:
URL: https://github.com/apache/cloudstack/pull/11506#discussion_r2340097727


##########
core/src/main/java/com/cloud/serializer/GsonHelper.java:
##########
@@ -78,6 +80,7 @@ static Gson setDefaultGsonConfig(GsonBuilder builder) {
         }.getType(), new NwGroupsCommandTypeAdaptor());
         builder.registerTypeAdapter(Storage.StoragePoolType.class, new StoragePoolTypeAdaptor());
         builder.registerTypeAdapter(Hypervisor.HypervisorType.class, new HypervisorTypeAdaptor());
+        builder.setDateFormat(DATE_FORMAT);

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org