https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24455 --- Comment #15 from Agustín Moyano <agustinmoyano@theke.io> --- (In reply to Jonathan Druart from comment #13)
(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)
according to the patch your uploaded, I believe you where using the code of bug 24650. I'll try to upload a patch with [DO NOT PUSH] with a test case -- You are receiving this mail because: You are watching all bug changes.