diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/PocketImport.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php index d76a3a08..fe39d33f 100644 --- a/src/Wallabag/ImportBundle/Import/PocketImport.php +++ b/src/Wallabag/ImportBundle/Import/PocketImport.php | |||
@@ -254,6 +254,10 @@ class PocketImport extends AbstractImport | |||
254 | ); | 254 | ); |
255 | } | 255 | } |
256 | 256 | ||
257 | if (!empty($importedEntry['time_added'])) { | ||
258 | $entry->setCreatedAt((new \DateTime())->setTimestamp($importedEntry['time_added'])); | ||
259 | } | ||
260 | |||
257 | $this->em->persist($entry); | 261 | $this->em->persist($entry); |
258 | ++$this->importedEntries; | 262 | ++$this->importedEntries; |
259 | 263 | ||