Merge pull request #3980 from wallabag/fix/instapaper-date-import

Fix Instapaper import date order
This commit is contained in:
Jérémy Benoist 2019-05-24 16:03:05 +02:00 committed by GitHub
commit cc9731bf2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,10 @@ class InstapaperImport extends AbstractImport
return false;
}
// most recent articles are first, which means we should create them at the end so they will show up first
// as Instapaper doesn't export the creation date of the article
$entries = array_reverse($entries);
if ($this->producer) {
$this->parseEntriesForProducer($entries);