dhcp: fix comment

This commit is contained in:
Franco Fichtner 2019-01-08 09:29:48 +01:00
parent 029d62d88c
commit a050f6d4ca
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ function adjust_utc($dt)
{
foreach (config_read_array('dhcpd') as $dhcpd) {
if (!empty($dhcpd['dhcpleaseinlocaltime'])) {
/* if we want local time, so specify this is actually UTC */
/* we want local time, so specify this is actually UTC */
return strftime('%Y/%m/%d %H:%M:%S', strtotime("{$dt} UTC"));
}
}

View File

@ -37,7 +37,7 @@ function adjust_utc($dt)
{
foreach (config_read_array('dhcpdv6') as $dhcpdv6) {
if (!empty($dhcpdv6['dhcpv6leaseinlocaltime'])) {
/* if we want local time, so specify this is actually UTC */
/* we want local time, so specify this is actually UTC */
return strftime('%Y/%m/%d %H:%M:%S', strtotime("{$dt} UTC"));
}
}