aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-05-10 23:17:25 +0200
committerGravatar GitHub <noreply@github.com> 2025-05-10 23:17:25 +0200
commit532d229d3396817f702c1ecae79fb7f9bdad9a64 (patch)
tree1326136f63fcaf0c7ebd0007e4bdf889183187ba /app/Controllers/indexController.php
parent84d4aeb9e613a70b53d87c62d07bb4c4635290c3 (diff)
Fix newest articles not shown (#7577)
* Fix newest articles not shown Case when processing was faster than 1 second. fix https://github.com/FreshRSS/FreshRSS/issues/7412 Regression from https://github.com/FreshRSS/FreshRSS/pull/7149 * Simplify uTimeString() PHPStan has become a bit smarter
Diffstat (limited to 'app/Controllers/indexController.php')
-rw-r--r--app/Controllers/indexController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index 1d355ca84..1f49e03ee 100644
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -63,7 +63,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController {
FreshRSS_View::prependTitle($title . ' ยท ');
if (FreshRSS_Context::$id_max === '0') {
- FreshRSS_Context::$id_max = time() . '000000';
+ FreshRSS_Context::$id_max = uTimeString();
}
$this->view->callbackBeforeFeeds = static function (FreshRSS_View $view) {