mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Show epoch-format leases nicely
This commit is contained in:
@@ -201,7 +201,8 @@ else {
|
||||
push(@cols, $client ? "<tt>".&html_escape(
|
||||
$client->{'values'}->[0])."</tt>"
|
||||
: undef);
|
||||
if ($config{'lease_tz'}) {
|
||||
if ($config{'lease_tz'} ||
|
||||
$starts->{'values'}->[0] eq 'epoch') {
|
||||
$s = &make_date($lease->{'stime'});
|
||||
$e = &make_date($lease->{'etime'});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user