fix: use finished_at for the end time instead of created_at

This commit is contained in:
peaklabs-dev
2025-01-16 15:12:57 +01:00
parent 48b10de4f3
commit 30f36f96db
11 changed files with 66 additions and 31 deletions

View File

@@ -38,8 +38,8 @@
<div class="text-gray-600 dark:text-gray-400 text-sm">
Started: {{ formatDateInServerTimezone(data_get($execution, 'created_at'), $this->server()) }}
@if(data_get($execution, 'status') !== 'running')
<br>Ended: {{ formatDateInServerTimezone(data_get($execution, 'updated_at'), $this->server()) }}
<br>Duration: {{ calculateDuration(data_get($execution, 'created_at'), data_get($execution, 'updated_at')) }}
<br>Ended: {{ formatDateInServerTimezone(data_get($execution, 'finished_at'), $this->server()) }}
<br>Duration: {{ calculateDuration(data_get($execution, 'created_at'), data_get($execution, 'finished_at')) }}
@endif
</div>
<div class="text-gray-600 dark:text-gray-400 text-sm">