From fb8a1d4f7cd0061fb1fd60b35dd840da2b035659 Mon Sep 17 00:00:00 2001 From: Elena Bobkova Date: Thu, 22 Nov 2018 14:40:44 +0300 Subject: [PATCH] TODO updated --- KotlinServer/blocks/class/constructor-fields-info.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KotlinServer/blocks/class/constructor-fields-info.twig b/KotlinServer/blocks/class/constructor-fields-info.twig index 6789f10..bbfb55c 100644 --- a/KotlinServer/blocks/class/constructor-fields-info.twig +++ b/KotlinServer/blocks/class/constructor-fields-info.twig @@ -2,7 +2,7 @@ {%- for field in fields %} {%- if field.type.type.baseTypeName == "DateTime" %} - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssX", timezone = "UTC") //TODO use field format + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssX", timezone = "UTC") //TODO find a way to use 'ZZZ' from date format instead of 'X' {%- endif %} {%- if field.nullable %} @JsonInclude(JsonInclude.Include.ALWAYS)