mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixing date format. (#7423)
This commit is contained in:
parent
d976d96b5f
commit
e5f057f2bd
3 changed files with 15 additions and 5 deletions
|
|
@ -70,8 +70,13 @@ local selected_item = (table.has_key(configuration_items, _GET["item"]) and _GET
|
|||
--page_utils.print_page_title(i18n("manage_configurations.manage_configurations"))
|
||||
-- ************************************* ------
|
||||
|
||||
local user = _SESSION["user"]
|
||||
local date_format = ntop.getPref("ntopng.user."..user..".date_format")
|
||||
|
||||
if (page == "manage_configurations_backup") then
|
||||
template_utils.render("pages/manage_configurations_backup.template", {})
|
||||
template_utils.render("pages/manage_configurations_backup.template", {
|
||||
date_format = date_format,
|
||||
})
|
||||
else
|
||||
template_utils.render("pages/manage_configurations.template", {
|
||||
info = ntop.getInfo(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue