diff --git a/src/main/java/com/MTAPizza/Sympoll/groupmanagementservice/dto/response/GroupResponse.java b/src/main/java/com/MTAPizza/Sympoll/groupmanagementservice/dto/response/GroupResponse.java index 9503e0a..b764e5a 100644 --- a/src/main/java/com/MTAPizza/Sympoll/groupmanagementservice/dto/response/GroupResponse.java +++ b/src/main/java/com/MTAPizza/Sympoll/groupmanagementservice/dto/response/GroupResponse.java @@ -1,5 +1,7 @@ package com.MTAPizza.Sympoll.groupmanagementservice.dto.response; +import com.fasterxml.jackson.annotation.JsonFormat; + import java.time.LocalDateTime; import java.util.List; import java.util.UUID; @@ -9,6 +11,7 @@ public record GroupResponse ( String groupName, String description, UUID creatorId, + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss'Z'") LocalDateTime timeCreated, List membersList ) {}