summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_dhcp_leases.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_dhcp_leases.php')
-rw-r--r--src/usr/local/www/status_dhcp_leases.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/status_dhcp_leases.php b/src/usr/local/www/status_dhcp_leases.php
index 3b358ba..fb2508a 100644
--- a/src/usr/local/www/status_dhcp_leases.php
+++ b/src/usr/local/www/status_dhcp_leases.php
@@ -124,7 +124,7 @@ function adjust_gmt($dt) {
if ($dhcpleaseinlocaltime == "yes") {
$ts = strtotime($dt . " GMT");
if ($ts !== false) {
- return strftime("%Y/%m/%d %I:%M:%S%p", $ts);
+ return strftime("%Y/%m/%d %H:%M:%S", $ts);
}
}
/* If we did not need to convert to local time or the conversion failed, just return the input. */
OpenPOWER on IntegriCloud