diff options
author | Kevin Smokowski <ks6305@att.com> | 2018-02-09 15:14:01 +0000 |
---|---|---|
committer | Kevin Smokowski <ks6305@att.com> | 2018-02-09 15:14:01 +0000 |
commit | 72d3e768c26bfc2a7f298bb1d19ca389897d58e1 (patch) | |
tree | 4ce1e6a1a56417e0c1152121452d7e503e4ca53e | |
parent | bbf595ed4b60792db86de93aa3f9707082d5bb1a (diff) |
Iso8601 format fix
fix format in method asIso8601 in metric logger
Change-Id: I50de2397231ff8b298e3a75b3220315c255c26db
Issue-ID: CCSDK-186
Signed-off-by: Kevin Smokowski <ks6305@att.com>
-rw-r--r-- | sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/MetricLogger.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |