From 72d3e768c26bfc2a7f298bb1d19ca389897d58e1 Mon Sep 17 00:00:00 2001 From: Kevin Smokowski Date: Fri, 9 Feb 2018 15:14:01 +0000 Subject: Iso8601 format fix fix format in method asIso8601 in metric logger Change-Id: I50de2397231ff8b298e3a75b3220315c255c26db Issue-ID: CCSDK-186 Signed-off-by: Kevin Smokowski --- sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java index e70d08a5f..394ec0af2 100644 --- a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java +++ b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java @@ -246,7 +246,7 @@ public class MetricLogger { public static String asIso8601(Date date) { TimeZone tz = TimeZone.getTimeZone("UTC"); - DateFormat df = new SimpleDateFormat("yyy-MM-dd'T'HH:mm:ss:SS'+00:00'"); + DateFormat df = new SimpleDateFormat("yyy-MM-dd'T'HH:mm:ss.SS'+00:00'"); df.setTimeZone(tz); return df.format(date); } -- cgit 1.2.3-korg