Bugzilla – Attachment 100124 Details for
Bug 24455
Add ability to apply Koha formatting to dates from Javascript
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24455: [DO NOT PUSH] test timezone
Bug-24455-DO-NOT-PUSH-test-timezone.patch (text/plain), 1.45 KB, created by
Kyle M Hall (khall)
on 2020-03-04 13:52:47 UTC
(
hide
)
Description:
Bug 24455: [DO NOT PUSH] test timezone
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-03-04 13:52:47 UTC
Size:
1.45 KB
patch
obsolete
>From 6f7150ccc2a80be2cbdcf61685c7997936691b33 Mon Sep 17 00:00:00 2001 >From: Agustin Moyano <agustinmoyano@theke.io> >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 <kyle@bywatersolutions.com> >--- > 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 @@ > <body id="main_intranet-main" class="intranet-main"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'home-search.inc' %] >+[% INCLUDE 'js-date-format.inc' %] > > <div id="breadcrumbs">Home</div> > >-- >2.21.1 (Apple Git-122.3)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24455
:
97567
|
97568
|
97569
|
97574
|
97575
|
97576
|
97577
|
97578
|
98625
|
99192
|
99195
|
99198
|
99869
|
99870
|
99871
|
99872
|
99873
|
99874
|
99875
|
100119
|
100120
|
100121
|
100122
|
100123
|
100124
|
100125
|
101708
|
101709
|
101710
|
101711
|
101712
|
101713
|
101714
|
101715