Commit 8d9111c
committed
fix: replace deprecated diffInRealMilliseconds with diffInUTCMilliseconds
Replace Carbon's deprecated diffInRealMilliseconds method with
diffInUTCMilliseconds in RecordJobFailure and RecordJobSuccess listeners.
The new method name is more explicit about converting both dates to UTC
before comparison, ensuring accurate duration calculations regardless
of timezone differences.1 parent 6c82e91 commit 8d9111c
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments