Skip to content

Commit 018d444

Browse files
committed
Display correct completed_at timestamp in details
Completed jobs would show a relative time value that matched how long the job took rather than when it completed. Closes #137
1 parent 06067b0 commit 018d444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/oban/web/live/jobs/timeline_component.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ defmodule Oban.Web.Jobs.TimelineComponent do
104104

105105
{"executing", "completed", at} ->
106106
words =
107-
at
107+
job.completed_at
108108
|> DateTime.diff(now)
109109
|> Timing.to_words()
110110

0 commit comments

Comments
 (0)