fix(测试跟踪): 同步TAPD缺陷创建时间字段有误
--bug=1018287 --user=宋昌昌 【测试跟踪】缺陷管理-同步tapd的创建时间字段不正确 https://www.tapd.cn/55049933/s/1265673 Co-authored-by: song-cc-rock <changchang.song@fit2cloud.com>
This commit is contained in:
parent
32f99979e4
commit
2d995a42cf
|
@ -256,8 +256,8 @@ public class TapdPlatform extends AbstractIssuePlatform {
|
|||
issue.setCustomFields(syncIssueCustomField(issue.getCustomFields(), bug));
|
||||
issue.setPlatform(key);
|
||||
try {
|
||||
issue.setCreateTime(DateUtils.getTimestamp((String) bug.get("created")));
|
||||
issue.setUpdateTime(DateUtils.getTimestamp((String) bug.get("modified")));
|
||||
issue.setCreateTime(DateUtils.getTime((String) bug.get("created")).getTime());
|
||||
issue.setUpdateTime(DateUtils.getTime((String) bug.get("modified")).getTime());
|
||||
} catch (Exception e) {
|
||||
LogUtil.error(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue