Merge "Issue #947 revert changes to dataTime format" into development_on_ss_builds
Former-commit-id: 22a06b47664b0f7b7592022345cc7e3ead147036
This commit is contained in:
commit
80f1766f9a
1 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue