mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Fix wrong postdate on import
This commit is contained in:
@@ -261,7 +261,7 @@ class NZBImport
|
||||
$posterName = (string) $file->attributes()->poster;
|
||||
}
|
||||
if ($postDate === false) {
|
||||
$postDate = Carbon::createFromTimeString((string) $file->attributes()->date)->format('Y-m-d H:i:s');
|
||||
$postDate = Carbon::createFromTimestamp((string) $file->attributes()->date)->format('Y-m-d H:i:s');
|
||||
}
|
||||
|
||||
// Make a fake message array to use to check the blacklist.
|
||||
|
||||
Reference in New Issue
Block a user