FIX time count bug

This commit is contained in:
Jasder 2020-08-26 10:46:54 +08:00
parent 7e9d5a9acb
commit aac6df8790
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ json.started format_utc_time(stage.stage_started)
json.stopped format_utc_time(stage.stage_stopped)
json.created format_utc_time(stage.stage_created)
json.updated format_utc_time(stage.stage_updated)
json.duration_time render_duartion_time(stage.stage_started, stage.stage_stopped)
json.duration_time render_duartion_time(stage.stage_stopped, stage.stage_started)
json.version stage.stage_version
json.on_success stage.stage_on_success
json.on_failure stage.stage_on_failure

View File

@ -5,5 +5,5 @@ json.status step.step_status
json.exit_code step.step_exit_code
json.started format_utc_time(step.step_started)
json.stopped format_utc_time(step.step_stopped)
json.duration_time render_duartion_time(step.step_started, step.step_stopped)
json.duration_time render_duartion_time(step.step_stopped, step.step_started)
json.version step.step_version