diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-24 14:37:54 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-24 14:37:54 +0200 |
commit | 9ca670c801cddef0ba47adc3be02945164f6bc85 (patch) | |
tree | 105f93c7c934458639702b13d995742ff6e5c6c6 /src/Wallabag | |
parent | 65b495e75b1d36894dd18133d3bf967a74e0b8de (diff) | |
download | wallabag-9ca670c801cddef0ba47adc3be02945164f6bc85.tar.gz wallabag-9ca670c801cddef0ba47adc3be02945164f6bc85.tar.zst wallabag-9ca670c801cddef0ba47adc3be02945164f6bc85.zip |
Fix Instapaper import date
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/InstapaperImport.php | 4 |
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 | ||