You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/11/22 06:53:05 UTC
[incubator-devlake] branch release-v0.14 updated: fix(zentao): update Began and RealBegan field to time (#3780)
This is an automated email from the ASF dual-hosted git repository.
warren pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.14 by this push:
new edf4511aa fix(zentao): update Began and RealBegan field to time (#3780)
edf4511aa is described below
commit edf4511aa366ca2411aaa19ef239218ee10c76e9
Author: Warren Chen <yi...@merico.dev>
AuthorDate: Tue Nov 22 14:53:01 2022 +0800
fix(zentao): update Began and RealBegan field to time (#3780)
---
plugins/zentao/models/archived/execution.go | 2 +-
plugins/zentao/models/archived/project.go | 2 +-
plugins/zentao/models/execution.go | 2 +-
plugins/zentao/models/project.go | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/zentao/models/archived/execution.go b/plugins/zentao/models/archived/execution.go
index 7eb8c6a0a..328097abe 100644
--- a/plugins/zentao/models/archived/execution.go
+++ b/plugins/zentao/models/archived/execution.go
@@ -43,7 +43,7 @@ type ZentaoExecution struct {
Code string `json:"code"`
PlanBegin *helper.Iso8601Time `json:"begin"`
PlanEnd *helper.Iso8601Time `json:"end"`
- RealBegan string `json:"realBegan"`
+ RealBegan *helper.Iso8601Time `json:"realBegan"`
RealEnd *helper.Iso8601Time `json:"realEnd"`
Status string `json:"status"`
SubStatus string `json:"subStatus"`
diff --git a/plugins/zentao/models/archived/project.go b/plugins/zentao/models/archived/project.go
index fcd2314b0..75d72fc78 100644
--- a/plugins/zentao/models/archived/project.go
+++ b/plugins/zentao/models/archived/project.go
@@ -44,7 +44,7 @@ type ZentaoProject struct {
Code string `json:"code"`
PlanBegin *helper.Iso8601Time `json:"begin"`
PlanEnd *helper.Iso8601Time `json:"end"`
- RealBegan string `json:"realBegan"`
+ RealBegan *helper.Iso8601Time `json:"realBegan"`
RealEnd *helper.Iso8601Time `json:"realEnd"`
Days int `json:"days"`
Status string `json:"status"`
diff --git a/plugins/zentao/models/execution.go b/plugins/zentao/models/execution.go
index 52db4d498..db53227c6 100644
--- a/plugins/zentao/models/execution.go
+++ b/plugins/zentao/models/execution.go
@@ -98,7 +98,7 @@ type ZentaoExecutionRes struct {
Code string `json:"code"`
PlanBegin *helper.Iso8601Time `json:"begin"`
PlanEnd *helper.Iso8601Time `json:"end"`
- RealBegan string `json:"realBegan"`
+ RealBegan *helper.Iso8601Time `json:"realBegan"`
RealEnd *helper.Iso8601Time `json:"realEnd"`
Status string `json:"status"`
SubStatus string `json:"subStatus"`
diff --git a/plugins/zentao/models/project.go b/plugins/zentao/models/project.go
index ef854d0a6..7e6a6a882 100644
--- a/plugins/zentao/models/project.go
+++ b/plugins/zentao/models/project.go
@@ -44,7 +44,7 @@ type ZentaoProject struct {
Code string `json:"code"`
PlanBegin *helper.Iso8601Time `json:"begin"`
PlanEnd *helper.Iso8601Time `json:"end"`
- RealBegan string `json:"realBegan"`
+ RealBegan *helper.Iso8601Time `json:"realBegan"`
RealEnd *helper.Iso8601Time `json:"realEnd"`
Days int `json:"days"`
Status string `json:"status"`