aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2019-05-24 16:03:05 +0200
committerGitHub <noreply@github.com>2019-05-24 16:03:05 +0200
commitcc9731bf2bc59c4a3802ac546ac3f76afb4aa5d6 (patch)
tree105f93c7c934458639702b13d995742ff6e5c6c6
parent65b495e75b1d36894dd18133d3bf967a74e0b8de (diff)
parent9ca670c801cddef0ba47adc3be02945164f6bc85 (diff)
downloadwallabag-cc9731bf2bc59c4a3802ac546ac3f76afb4aa5d6.tar.gz
wallabag-cc9731bf2bc59c4a3802ac546ac3f76afb4aa5d6.tar.zst
wallabag-cc9731bf2bc59c4a3802ac546ac3f76afb4aa5d6.zip
Merge pull request #3980 from wallabag/fix/instapaper-date-import
Fix Instapaper import date order
-rw-r--r--src/Wallabag/ImportBundle/Import/InstapaperImport.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Import/InstapaperImport.php b/src/Wallabag/ImportBundle/Import/InstapaperImport.php
index 439c978c..f7bee9ef 100644
--- a/src/Wallabag/ImportBundle/Import/InstapaperImport.php
+++ b/src/Wallabag/ImportBundle/Import/InstapaperImport.php
@@ -93,6 +93,10 @@ class InstapaperImport extends AbstractImport
93 return false; 93 return false;
94 } 94 }
95 95
96 // most recent articles are first, which means we should create them at the end so they will show up first
97 // as Instapaper doesn't export the creation date of the article
98 $entries = array_reverse($entries);
99
96 if ($this->producer) { 100 if ($this->producer) {
97 $this->parseEntriesForProducer($entries); 101 $this->parseEntriesForProducer($entries);
98 102