summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-11-05 14:19:36 -0600
committerInstrumental <jonathan.gathman@att.com>2019-11-05 14:19:41 -0600
commit83b93fc82cc39590f1f3aa1e92a53f37cd191416 (patch)
tree7a6026e5a3760daadf6b4f45418e77479e932091 /misc
parentbc5f9dec37da59182034c1166a6a9d4150f40847 (diff)
Fix Batch Cred Deletes
Issue-ID: AAF-1038 Change-Id: I30ea4ec04cd3ca6c416010f99e46aa44c5f2fd24 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/env/src/main/java/org/onap/aaf/misc/env/util/Chrono.java2
1 files changed, 2 insertions, 0 deletions
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"));
}