mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
fix hr display error when not download completed
This commit is contained in:
@@ -236,7 +236,7 @@ class HitAndRunRepository extends BaseRepository
|
||||
'added' => Carbon::now()->toDateTimeString(),
|
||||
'subject' => nexus_trans('hr.reached_message_subject', ['hit_and_run_id' => $hitAndRun->id], $hitAndRun->user->locale),
|
||||
'msg' => nexus_trans('hr.reached_message_content', [
|
||||
'completed_at' => $hitAndRun->snatch->completedat->toDateTimeString(),
|
||||
'completed_at' => format_datetime($hitAndRun->snatch->completedat),
|
||||
'torrent_id' => $hitAndRun->torrent_id,
|
||||
'torrent_name' => $hitAndRun->torrent->name,
|
||||
], $hitAndRun->user->locale),
|
||||
@@ -335,7 +335,7 @@ class HitAndRunRepository extends BaseRepository
|
||||
'added' => Carbon::now()->toDateTimeString(),
|
||||
'subject' => nexus_trans('hr.unreached_message_subject', ['hit_and_run_id' => $hitAndRun->id], $hitAndRun->user->locale),
|
||||
'msg' => nexus_trans('hr.unreached_message_content', [
|
||||
'completed_at' => $hitAndRun->snatch->completedat->toDateTimeString(),
|
||||
'completed_at' => format_datetime($hitAndRun->snatch->completedat),
|
||||
'torrent_id' => $hitAndRun->torrent_id,
|
||||
'torrent_name' => $hitAndRun->torrent->name,
|
||||
], $hitAndRun->user->locale),
|
||||
|
||||
Reference in New Issue
Block a user