Issue #947 revert changes to dataTime format

Former-commit-id: 4c45df4e3f [formerly 54b538bb07] [formerly 50cb7383a6] [formerly 70ba8d82db [formerly 50cb7383a6 [formerly 53a441f310e35d80ceb0ff28c156bf15ba1b5893]]]
Former-commit-id: 70ba8d82db
Former-commit-id: dcd339cd56dee05048a4cc65e0aad47a394b2aa1 [formerly 77b7c4c517]
Former-commit-id: 36455cfbed
This commit is contained in:
Ben Steffensmeier 2012-08-14 16:12:02 -05:00 committed by Steve Harris
parent a5cfc06b72
commit 3d83dd0e1f

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"));