[Koha-bugs] [Bug 24455] date formatting from JS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 18 16:11:12 CET 2020


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

--- Comment #11 from Agustín Moyano <agustinmoyano at theke.io> ---
(In reply to Jonathan Druart from comment #10)
> Typo:
> +            var tz = (opitons&&options.tz)||def_tz;

Ups, seems I forgot to attach the patch where I fixed that.. 

> How is this related to bug 24650?
> It seems that it achieves the same goal without extra lib and very few lines.

I hadn't seen that bug.. seems this bug is previous to that one.. but the main
difference is that this implementation takes into account the timezone, so if a
date comes from the api with UTC timezone it will be correctly translated to
your current timezone.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list