aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-05-24 14:37:54 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-05-24 14:37:54 +0200
commit9ca670c801cddef0ba47adc3be02945164f6bc85 (patch)
tree105f93c7c934458639702b13d995742ff6e5c6c6
parent65b495e75b1d36894dd18133d3bf967a74e0b8de (diff)
downloadwallabag-9ca670c801cddef0ba47adc3be02945164f6bc85.tar.gz
wallabag-9ca670c801cddef0ba47adc3be02945164f6bc85.tar.zst
wallabag-9ca670c801cddef0ba47adc3be02945164f6bc85.zip
Fix Instapaper import date
-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