mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Dashboard must always show full time, i.e. Sat 04 Feb 2023 14:26:42 EET
This commit is contained in:
@@ -74,6 +74,10 @@ if (&show_section('host')) {
|
||||
|
||||
# System time
|
||||
my $tm = localtime(time());
|
||||
eval "use DateTime; use DateTime::Locale; use DateTime::TimeZone;";
|
||||
if (!$@) {
|
||||
$tm = make_date(time(), {get => 'full-tz'});
|
||||
}
|
||||
if (&foreign_available("time")) {
|
||||
$tm = &ui_link(&get_webprefix().'/time/', $tm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user