changeset 2594:4673abfd2e7f

Kinda-sorta display the timestamp accuracy on latest added locations page. Should be improved later on.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 11 Feb 2024 18:17:19 +0200
parents ff8484e06108
children d2b36f0cebec
files www/latest.php
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/www/latest.php	Sun Feb 11 18:07:51 2024 +0200
+++ b/www/latest.php	Sun Feb 11 18:17:19 2024 +0200
@@ -100,7 +100,8 @@
 
     echo
       " <tr>\n".
-      "  <td>".(($iv["added"] <= 0) ? "?" : mpStrFTime($iv["added"]))."</td>\n".
+      "  <td>".(($iv["added"] <= 0) ? "?" : mpStrFTime($iv["added"])).
+      ($iv["added_accuracy"] != TS_ACC_DEFAULT ? " ".$iv["added_accuracy"] : "")."</td>\n".
       "  <td class=\"".$iv["continent"]."\">".mpGetMapLink($iv, TRUE, TRUE, FALSE)."</td>\n".
       "  <td>".$continentList[$iv["continent"]][CTI_NAME]."</td>\n".
       ($showAll ? "  <td>".mpGetLocationTypeStr($iv["flags"])."</td>\n" : "").