Merge "Issue 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 80f1766f9a

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