From 20e0fcac53520a1b09be806a2691caa4728bcc44 Mon Sep 17 00:00:00 2001 From: Sean Lin Date: Mon, 20 May 2019 10:00:39 -0700 Subject: [PATCH] * Fix issue where audit log timestamp is in 12-hour clock instead of 24-hour (military) clock (#194) --- gradle.properties | 2 +- .../com/nike/cerberus/event/processor/AuditLogProcessor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 9533045f6..4c9c91190 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,6 +14,6 @@ # limitations under the License. # -version=3.27.0 +version=3.27.1 groupId=com.nike.cerberus artifactId=cms diff --git a/src/main/java/com/nike/cerberus/event/processor/AuditLogProcessor.java b/src/main/java/com/nike/cerberus/event/processor/AuditLogProcessor.java index 8c3ad3fdc..303aedad7 100644 --- a/src/main/java/com/nike/cerberus/event/processor/AuditLogProcessor.java +++ b/src/main/java/com/nike/cerberus/event/processor/AuditLogProcessor.java @@ -39,7 +39,7 @@ public class AuditLogProcessor implements EventProcessor { protected final Logger auditLogger = LoggerFactory.getLogger(this.getClass()); - private static final DateTimeFormatter ATHENA_DATE_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss"); + private static final DateTimeFormatter ATHENA_DATE_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); private static final String PARTY_LIKE_ITS_99 = "1999-01-01T01:00:00+00:00"; private final ObjectMapper om = new ObjectMapper();