diff options
author | Dan Timoney <dtimoney@att.com> | 2018-02-09 15:28:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-09 15:28:31 +0000 |
commit | e36be89362fe80a7cd3da69a886c6c1f1c99a65c (patch) | |
tree | a83c4cbe19401eb4f259fedbd3d95445b9f21824 /sli | |
parent | d714334ac9e367173efa6801d531272f8c9eaed4 (diff) | |
parent | 72d3e768c26bfc2a7f298bb1d19ca389897d58e1 (diff) |
Merge "Iso8601 format fix"
Diffstat (limited to 'sli')
-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 e70d08a5..394ec0af 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); } |