Issue #947 revert changes to dataTime format

Former-commit-id: 70ba8d82db [formerly 50cb7383a6 [formerly 53a441f310e35d80ceb0ff28c156bf15ba1b5893]]
Former-commit-id: 50cb7383a6
Former-commit-id: 54b538bb07
This commit is contained in:
Ben Steffensmeier 2012-08-14 16:12:02 -05:00 committed by Steve Harris
parent 066f40e606
commit 4c45df4e3f

View file

@ -49,10 +49,10 @@ public class TimeUtil {
// is expensive the SimpleDateFormat class is not thread-safe, // is expensive the SimpleDateFormat class is not thread-safe,
// so calling methods use synchronized // so calling methods use synchronized
private static SimpleDateFormat sdf = new SimpleDateFormat( 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( private static SimpleDateFormat sqlSdf = new SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss.SSS"); "yyyy-MM-dd HH:mm:ss.S");
static { static {
sqlSdf.setTimeZone(TimeZone.getTimeZone("GMT")); sqlSdf.setTimeZone(TimeZone.getTimeZone("GMT"));