Issue #947 revert changes to dataTime format

Former-commit-id: 5c560da8d485f2ca2b6ca24925480aa61fb994de
This commit is contained in:
Ben Steffensmeier 2012-08-14 16:12:02 -05:00
parent 09c412d754
commit 434193b34b

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