From 8274f17924453f890a2f165e02644def25871adf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20P=C3=A5sche?= Date: Wed, 5 Aug 2020 11:41:59 +0200 Subject: [PATCH] NVDB-5752: Fix formatting error on ShortDateAttribute. --- .../client/model/roadobjects/attribute/ShortDateAttribute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/no/vegvesen/nvdbapi/client/model/roadobjects/attribute/ShortDateAttribute.java b/src/main/java/no/vegvesen/nvdbapi/client/model/roadobjects/attribute/ShortDateAttribute.java index 31d541d0..03d4c23a 100644 --- a/src/main/java/no/vegvesen/nvdbapi/client/model/roadobjects/attribute/ShortDateAttribute.java +++ b/src/main/java/no/vegvesen/nvdbapi/client/model/roadobjects/attribute/ShortDateAttribute.java @@ -23,7 +23,7 @@ public AttributeType getAttributeType() { @Override public String getValueAsString() { - return value.format(DateTimeFormatter.ISO_LOCAL_DATE); + return value.format(DateTimeFormatter.ofPattern("--MM-dd")); } @Override