From 4c45df4e3f1c287221dcb817ab86b2b475659889 Mon Sep 17 00:00:00 2001 From: Ben Steffensmeier Date: Tue, 14 Aug 2012 16:12:02 -0500 Subject: [PATCH] Issue #947 revert changes to dataTime format Former-commit-id: 70ba8d82dbec9ab476e372e0122afd2553c10688 [formerly 50cb7383a620d6cac9ab023da800510311ed7099 [formerly 53a441f310e35d80ceb0ff28c156bf15ba1b5893]] Former-commit-id: 50cb7383a620d6cac9ab023da800510311ed7099 Former-commit-id: 54b538bb076113966adb4431e4d586d97532cf48 --- .../src/com/raytheon/uf/common/time/util/TimeUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edexOsgi/com.raytheon.uf.common.time/src/com/raytheon/uf/common/time/util/TimeUtil.java b/edexOsgi/com.raytheon.uf.common.time/src/com/raytheon/uf/common/time/util/TimeUtil.java index 481b9a5340..f137f1813f 100644 --- a/edexOsgi/com.raytheon.uf.common.time/src/com/raytheon/uf/common/time/util/TimeUtil.java +++ b/edexOsgi/com.raytheon.uf.common.time/src/com/raytheon/uf/common/time/util/TimeUtil.java @@ -49,10 +49,10 @@ public class TimeUtil { // is expensive the SimpleDateFormat class is not thread-safe, // so calling methods use synchronized private static SimpleDateFormat sdf = new SimpleDateFormat( - "yyyy-MM-dd_HH:mm:ss.SSS"); + "yyyy-MM-dd_HH:mm:ss.S"); private static SimpleDateFormat sqlSdf = new SimpleDateFormat( - "yyyy-MM-dd HH:mm:ss.SSS"); + "yyyy-MM-dd HH:mm:ss.S"); static { sqlSdf.setTimeZone(TimeZone.getTimeZone("GMT"));