Issue #947 revert changes to dataTime format
Former-commit-id:70ba8d82db
[formerly50cb7383a6
[formerly 53a441f310e35d80ceb0ff28c156bf15ba1b5893]] Former-commit-id:50cb7383a6
Former-commit-id:54b538bb07
This commit is contained in:
parent
066f40e606
commit
4c45df4e3f
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