From 83b93fc82cc39590f1f3aa1e92a53f37cd191416 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Tue, 5 Nov 2019 14:19:36 -0600 Subject: Fix Batch Cred Deletes Issue-ID: AAF-1038 Change-Id: I30ea4ec04cd3ca6c416010f99e46aa44c5f2fd24 Signed-off-by: Instrumental --- misc/env/src/main/java/org/onap/aaf/misc/env/util/Chrono.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc/env') diff --git a/misc/env/src/main/java/org/onap/aaf/misc/env/util/Chrono.java b/misc/env/src/main/java/org/onap/aaf/misc/env/util/Chrono.java index e6c95db8..aa20dfae 100644 --- a/misc/env/src/main/java/org/onap/aaf/misc/env/util/Chrono.java +++ b/misc/env/src/main/java/org/onap/aaf/misc/env/util/Chrono.java @@ -63,6 +63,8 @@ public class Chrono { niceUTCDateFmt.setTimeZone(TimeZone.getTimeZone("UTC")); iso8601Fmt = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSX"); batchFmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss+SSSS"); + // Note: DB and thus Batch conversions should always be in UTC Time + batchFmt.setTimeZone(TimeZone.getTimeZone("UTC")); } -- cgit 1.2.3-korg