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

Former-commit-id: 22a06b47664b0f7b7592022345cc7e3ead147036
This commit is contained in:
Nate Jensen 2012-08-14 16:15:55 -05:00 committed by Gerrit Code Review
commit 571e16bd23

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