Fix wrong postdate on import

This commit is contained in:
DariusIII
2020-05-02 20:41:59 +02:00
parent 3da1b86336
commit 0e06a067cd
+1 -1
View File
@@ -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.