aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docker/php/Dockerfile2
-rw-r--r--src/Wallabag/ImportBundle/Import/InstapaperImport.php4
2 files changed, 5 insertions, 1 deletions
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile
index d0266ec7..b632cb8a 100644
--- a/docker/php/Dockerfile
+++ b/docker/php/Dockerfile
@@ -1,4 +1,4 @@
1FROM php:fpm 1FROM php:7.2-fpm
2 2
3# Default timezone. To change it, use the argument in the docker-compose.yml file 3# Default timezone. To change it, use the argument in the docker-compose.yml file
4ARG timezone='Europe/Paris' 4ARG timezone='Europe/Paris'
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