mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix my download basket added date display
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-03-21 DariusIII
|
||||
* Fix: Fix my download basket added date display
|
||||
* Chg: Update nesbot/carbon to version 1.25.0
|
||||
* Chg: Add Mews/Purifier
|
||||
2018-03-19 DariusIII
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
class UsersRelease extends Model
|
||||
{
|
||||
@@ -45,6 +46,8 @@ class UsersRelease extends Model
|
||||
[
|
||||
'users_id' => $uid,
|
||||
'releases_id' => $releaseid,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result->release->guid}">{$result->release->searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
</td>
|
||||
<td class="less"
|
||||
title="Added on {$result.created_at}">{$result.created_at|date_format}</td>
|
||||
title="Added on {$result.created_at}">{$result.created_at}</td>
|
||||
<td><a title="Delete from your cart" href="?delete={$result->release->guid}"
|
||||
class="btn btn-danger btn-sm" style="padding-bottom:2px;">Delete</a></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user