summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-07-26 13:12:10 +0930
committerChris Buechler <cmb@pfsense.org>2016-07-25 23:04:13 -0500
commit78415e07255319368a19c1cb42311e1b62fc386d (patch)
tree3229e3feb4166fe71c8085383bd7035b69aef338 /tools/builder_common.sh
parentb8e4f5ff4d0f6a4d46b88892e5e611163435de52 (diff)
downloadpfsense-78415e07255319368a19c1cb42311e1b62fc386d.zip
pfsense-78415e07255319368a19c1cb42311e1b62fc386d.tar.gz
Fix redmine #6640 DHCPv6 server time format
The original code here ended up always applying the time zone offset once, and if you had set dhcpv6leaseinlocaltime then it got applied twice, so Sydney at UTC+10:00 would show UTC+20:00 and presumably somewhere at UTC-04:00 would show UTC-08:00 This change makes the code use the same logic as the V4 status_dhcp_leases.php - which works and is simpler. Note: both the V4 and V6 code format the output, when using local time, as 12-our clock with AM/PM. That seems a bit odd, but I will leave it for now. I will make a separate pull request to change it to 24-hour clock (like is displayed in V4 leases in UTC)
Diffstat (limited to 'tools/builder_common.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud