From 70b597eadde6a7902ef43283130840fb42896013 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Tue, 18 Feb 2020 15:25:03 -0300 Subject: [PATCH] Bug 24455: [DO NOT PUSH] test timezone This is just a test.. I added the .inc file to adimn's main page To test: 1. go to Koha main page and open chrome or firefox console 2. type $datetime('2020-02-18T12:46:05Z', {tz: 'America/Argentina/Buenos_Aires'}) and you should get "02/18/2020 09:46" because America/Argentina/Buenos_Aires is -03:00 3. type $datetime('2020-02-18T12:46:05Z', {tz: 'Asia/Shanghai'}) and you should get "02/18/2020 20:46" because Asia/Shanghai is +08:00 4. type $datetime('2020-02-18T12:46:05Z') and it should be translated to your koha instance configured timezone. Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index f6a213523e..aedc11deac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -10,6 +10,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'home-search.inc' %] +[% INCLUDE 'js-date-format.inc' %] -- 2.20.1