Merge "Issue #947 revert changes to dataTime format" into development_on_ss_builds

Former-commit-id: 9657ce7e32 [formerly 571e16bd23] [formerly 80f1766f9a [formerly 22a06b47664b0f7b7592022345cc7e3ead147036]]
Former-commit-id: 80f1766f9a
Former-commit-id: b6e459615b
This commit is contained in:
Nate Jensen 2012-08-14 16:15:55 -05:00 committed by Gerrit Code Review
commit 45d5fa0366

View file

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