mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
dhcp: fix comment
This commit is contained in:
parent
029d62d88c
commit
a050f6d4ca
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user