summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/status_dhcp_leases.php2
-rw-r--r--src/usr/local/www/status_dhcpv6_leases.php2
2 files changed, 2 insertions, 2 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. */
diff --git a/src/usr/local/www/status_dhcpv6_leases.php b/src/usr/local/www/status_dhcpv6_leases.php
index a8b644a..2859ba6 100644
--- a/src/usr/local/www/status_dhcpv6_leases.php
+++ b/src/usr/local/www/status_dhcpv6_leases.php
@@ -132,7 +132,7 @@ function adjust_gmt($dt) {
if ($dhcpv6leaseinlocaltime == "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