Issue #947 revert changes to dataTime format
Former-commit-id:4c45df4e3f
[formerly54b538bb07
] [formerly50cb7383a6
] [formerly70ba8d82db
[formerly50cb7383a6
[formerly 53a441f310e35d80ceb0ff28c156bf15ba1b5893]]] Former-commit-id:70ba8d82db
Former-commit-id: dcd339cd56dee05048a4cc65e0aad47a394b2aa1 [formerly77b7c4c517
] Former-commit-id:36455cfbed
This commit is contained in:
parent
a5cfc06b72
commit
3d83dd0e1f
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