From e6e6705cb68173bd68027bd1690a97af45c02bde Mon Sep 17 00:00:00 2001 From: Alexander Schwarz Date: Wed, 22 Sep 2021 11:05:12 +0200 Subject: [PATCH] fix datetime formatter --- .../ec/dgc/validation/decorator/service/DccTokenService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/europa/ec/dgc/validation/decorator/service/DccTokenService.java b/src/main/java/eu/europa/ec/dgc/validation/decorator/service/DccTokenService.java index 5bcb96f..ea56c27 100644 --- a/src/main/java/eu/europa/ec/dgc/validation/decorator/service/DccTokenService.java +++ b/src/main/java/eu/europa/ec/dgc/validation/decorator/service/DccTokenService.java @@ -51,7 +51,7 @@ public class DccTokenService { private static final String TYPE_VALIDATION_SERVICE = "ValidationService"; - private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-dd-MM'T'HH:mm:ssxxxxx"); + private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ssxxxxx"); private final DgcProperties dgcProperties;