]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Temporal.php
Merge pull request #13161 from annando/bluesky-activities
[friendica.git] / src / Util / Temporal.php
index c3f744ba630796e156311f3a70db096e091842b0..acafb66ab60538949a9b0cacd2540b19b2bc7382 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -361,7 +361,7 @@ class Temporal
                foreach ($a as $secs => $str) {
                        $d = $etime / $secs;
                        if ($d >= 1) {
-                               $r = round($d);
+                               $r = floor($d);
                                // translators - e.g. 22 hours ago, 1 minute ago
                                if($isfuture){
                                        $format = DI::l10n()->t('in %1$d %2$s');