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

--- Comment #19 from Jonathan Druart <[email protected]> ---
Created attachment 171019
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171019&action=edit
Bug 36217: Use the server's tz to limit the jobs by "enqueued in the last hour"

This patch suggests to revert the previous attempt to fix this problem.
The date was using the client-side's tz and so the "last hour" was not
matching the one from the server.

I have noticed a couple of things when working on this:
* We cannot pass a RFC3339 formatted date to the server (will open a
  separate bug report)
* toISOString() and the handling of timezone in dayjs is ambiguous or
  buggy
https://github.com/iamkun/dayjs/issues/2720
https://github.com/iamkun/dayjs/issues/2611

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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