Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #935 from X-Ultra/dev_summary_optimize
Browse files Browse the repository at this point in the history
Optimize Workflow and Task summary
  • Loading branch information
kishorebanala authored Mar 7, 2019
2 parents 6ebf348 + 20be373 commit 5d23f9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public TaskSummary() {
}

public TaskSummary(Task task) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");

SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
sdf.setTimeZone(gmt);

this.taskId = task.getTaskId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public WorkflowSummary() {

}
public WorkflowSummary(Workflow workflow) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");

SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
sdf.setTimeZone(gmt);

this.workflowType = workflow.getWorkflowName();
Expand Down

0 comments on commit 5d23f9b

Please sign in to comment.