https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24455

--- Comment #25 from Andrew Isherwood <andrew.isherw...@ptfs-europe.com> ---
Created attachment 99874
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99874&action=edit
Bug 24455: 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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to