diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2015-01-27 18:42:49 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-07-23 17:39:26 +0200 |
commit | 4b459822a94d1b73931c4afe997a214c4fcfade1 (patch) | |
tree | 338c5c0b04b20f39b30c7245d6ce8bdaa7c5e4af /src/lib/Bcfg2/Reporting/templates/base-timeview.html | |
parent | f733133c835193a884edcf34e5daff6365745d21 (diff) | |
download | bcfg2-4b459822a94d1b73931c4afe997a214c4fcfade1.tar.gz bcfg2-4b459822a94d1b73931c4afe997a214c4fcfade1.tar.bz2 bcfg2-4b459822a94d1b73931c4afe997a214c4fcfade1.zip |
Reporting/templates: Use configurable date formats.
Diffstat (limited to 'src/lib/Bcfg2/Reporting/templates/base-timeview.html')
-rw-r--r-- | src/lib/Bcfg2/Reporting/templates/base-timeview.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/base-timeview.html b/src/lib/Bcfg2/Reporting/templates/base-timeview.html index 9a5ef651c..28a9fa0f4 100644 --- a/src/lib/Bcfg2/Reporting/templates/base-timeview.html +++ b/src/lib/Bcfg2/Reporting/templates/base-timeview.html @@ -17,7 +17,7 @@ function bcfg2_check_date() { } document.write(getCalendarStyles()); </script> -{% if not timestamp %}Rendered at {% now "Y-m-d H:i" %} | {% else %}View as of {{ timestamp|date:"Y-m-d H:i" }} | {% endif %}{% spaceless %} +{% if not timestamp %}Rendered at {% now "SHORT_DATETIME_FORMAT" %} | {% else %}View as of {{ timestamp|date:"SHORT_DATETIME_FORMAT" }} | {% endif %}{% spaceless %} <a id='cal_link' name='cal_link' href='#' onclick='showCalendar(); return false;' >[change]</a> <form method='post' action='{{ path }}' id='cal_form' name='cal_form'> |