Skip to content

Commit 505b006

Browse files
committed
Use default timezone instead of "GMT+8"
1 parent 7f33deb commit 505b006

File tree

15 files changed

+25
-25
lines changed

15 files changed

+25
-25
lines changed

modules/common/src/main/java/com/webank/wedatasphere/exchangis/datasource/domain/DataSourceBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class DataSourceBase {
8585
/**
8686
* Create time
8787
*/
88-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
88+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
8989
private Date createTime;
9090

9191
/**
@@ -101,7 +101,7 @@ public class DataSourceBase {
101101
/**
102102
* Modify time
103103
*/
104-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
104+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
105105
private Date modifyTime;
106106

107107
/**

modules/common/src/main/java/com/webank/wedatasphere/exchangis/job/domain/ExecutorNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class ExecutorNode {
3535
private Integer id;
3636
@NotBlank(message = "{udes.domain.executor.address.notBlank}")
3737
private String address;
38-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
38+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
3939
private Date heartbeatTime;
4040
private Integer status;
4141
private Float memRate;

modules/common/src/main/java/com/webank/wedatasphere/exchangis/job/domain/JobReport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class JobReport {
4444
private Long transformerTotalRecords;
4545
private Long transformerFailedRecords;
4646
private Long transformerFilterRecords;
47-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
47+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
4848
private Date createTime;
4949

5050
public Long getId() {

modules/service/src/main/java/com/webank/wedatasphere/exchangis/datasource/domain/DataSourceModel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class DataSourceModel {
6969
/**
7070
* Create time
7171
*/
72-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
72+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
7373
private Date createTime;
7474

7575
/**
@@ -90,7 +90,7 @@ public class DataSourceModel {
9090
/**
9191
* Modify time
9292
*/
93-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
93+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
9494
private Date modifyTime;
9595

9696
private List<String> authScopes = new ArrayList<>();

modules/service/src/main/java/com/webank/wedatasphere/exchangis/datasource/domain/DataSourceOwner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class DataSourceOwner {
5454
/**
5555
* Create time
5656
*/
57-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
57+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
5858
private Date createTime;
5959

6060
/**
@@ -65,7 +65,7 @@ public class DataSourceOwner {
6565
/**
6666
* Modify time
6767
*/
68-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
68+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
6969
private Date modifyTime;
7070

7171
public Integer getId() {

modules/service/src/main/java/com/webank/wedatasphere/exchangis/exec/domain/ExecNodeUser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class ExecNodeUser {
6161
*/
6262
private boolean markDel;
6363

64-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
64+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
6565
private Date updateTime;
6666

6767
public Integer getExecNodeId() {

modules/service/src/main/java/com/webank/wedatasphere/exchangis/exec/domain/ExecUser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class ExecUser {
4141
@Size(max = 200, message = "{udes.domain.exec.user.desc.max}")
4242
private String description;
4343

44-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
44+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
4545
private Date createTime;
4646

4747
public Integer getId() {

modules/service/src/main/java/com/webank/wedatasphere/exchangis/group/domain/Group.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class Group {
5555
/**
5656
* Create time
5757
*/
58-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
58+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
5959
private Date createTime;
6060

6161
/**
@@ -71,7 +71,7 @@ public class Group {
7171
/**
7272
* Modify time
7373
*/
74-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
74+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
7575
private Date modifyTime;
7676

7777
@Valid

modules/service/src/main/java/com/webank/wedatasphere/exchangis/job/domain/JobExecNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class JobExecNode {
3030

3131
private Integer execId;
3232

33-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
33+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
3434
private Date createTime;
3535

3636
public Long getJobId() {

modules/service/src/main/java/com/webank/wedatasphere/exchangis/job/domain/JobInfo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,20 @@ public class JobInfo {
115115
@JsonIgnore
116116
private String jobConfig;
117117

118-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
118+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
119119
private Date createTime;
120120

121121
private String createUser;
122122

123123
private String modifyUser;
124124

125-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
125+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
126126
private Date modifyTime;
127127

128128
/**
129129
* last trigger time
130130
*/
131-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
131+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
132132
private Date lastTriggerTime;
133133
/**
134134
* Job status

modules/service/src/main/java/com/webank/wedatasphere/exchangis/job/domain/JobInfoParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class JobInfoParams {
3333

3434
private String paramVal;
3535

36-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
36+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
3737
private Date createTime;
3838

3939
public JobInfoParams(Long jobId, String paramName, String paramVal){

modules/service/src/main/java/com/webank/wedatasphere/exchangis/job/domain/JobTask.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class JobTask {
4747
* Trigger type: scheduler or api
4848
*/
4949
private String triggerType;
50-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
50+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
5151
private Date triggerTime;
5252
private String triggerStatus;
5353
private String triggerMsg;
@@ -61,7 +61,7 @@ public class JobTask {
6161
*/
6262
private Integer runTimes;
6363
private String executeMsg;
64-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
64+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
6565
private Date completeTime;
6666
private String jobName;
6767
private String jobCreateUser;
@@ -70,7 +70,7 @@ public class JobTask {
7070
/**
7171
* Version date
7272
*/
73-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
73+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
7474
private Date version;
7575

7676
private boolean disposable = false;

modules/service/src/main/java/com/webank/wedatasphere/exchangis/job/domain/JobTaskParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class JobTaskParams {
3535

3636
private String paramVal;
3737

38-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
38+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
3939
private Date createTime;
4040

4141
public JobTaskParams(String paramName, String paramVal){

modules/service/src/main/java/com/webank/wedatasphere/exchangis/project/domain/Project.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class Project {
5353
/**
5454
* Create time
5555
*/
56-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
56+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
5757
private Date createTime;
5858
/**
5959
* Modify user
@@ -62,7 +62,7 @@ public class Project {
6262
/**
6363
* Modify time
6464
*/
65-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
65+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
6666
private Date modifyTime;
6767
/**
6868
* Parent node

modules/service/src/main/java/com/webank/wedatasphere/exchangis/user/domain/UserInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public class UserInfo {
3838
private String orgCode;
3939
private String deptCode;
4040
private Integer userType;
41-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
41+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
4242
private Date updateTime;
43-
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
43+
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
4444
private Date createTime;
4545

4646
public UserInfo(String userName){

0 commit comments

Comments
 (0)