diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/status_dhcp_leases.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/status_dhcpv6_leases.php | 2 |
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 6dd3a02..dff4804 100644 --- a/src/usr/local/www/status_dhcp_leases.php +++ b/src/usr/local/www/status_dhcp_leases.php @@ -92,7 +92,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 e6fa0ed..6fa390d 100644 --- a/src/usr/local/www/status_dhcpv6_leases.php +++ b/src/usr/local/www/status_dhcpv6_leases.php @@ -100,7 +100,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. */ |