mirror of
https://github.com/wallabag/wallabag.git
synced 2025-03-10 21:31:20 +00:00
Merge pull request #6545 from mart-e/round-reading-time
[FIX] round reading time in export
This commit is contained in:
commit
550639b4cd
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class EntriesExport
|
|||
$publishedDate = $entry->getPublishedAt()->format('Y-m-d');
|
||||
}
|
||||
|
||||
$readingTime = $entry->getReadingTime() / $user->getConfig()->getReadingSpeed() * 200;
|
||||
$readingTime = round($entry->getReadingTime() / $user->getConfig()->getReadingSpeed() * 200);
|
||||
|
||||
$titlepage = $content_start .
|
||||
'<h1>' . $entry->getTitle() . '</h1>' .
|
||||
|
|
Loading…
Reference in a new issue