[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:52:35 CET 2020


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

--- Comment #13 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Agustín Moyano from comment #11)
> (In reply to Jonathan Druart from comment #10)
> > 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.

What do you mean by correctly translated to your current timezone? Do you mean
the TZ from the server?

I tried this patch, with Buenos Aires in the timezone config, I see:
2020-02-18T12:46:05-03:00
02/18/2020 16:46

(current date of the server is 16:46)

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


More information about the Koha-bugs mailing list