https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36217
--- Comment #23 from David Cook <[email protected]> --- Comment on attachment 171019 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171019 Bug 36217: Use the server's tz to limit the jobs by "enqueued in the last hour" Review of attachment 171019: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=36217&attachment=171019) ----------------------------------------------------------------- ::: koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt @@ +264,4 @@ > let now = new Date(); > if ( $("#include_last_hour").is(":checked") ) { > now.setHours(now.getHours() - 1); > + let now_with_server_tz = > $datetime(now.toISOString(), { dateformat: 'iso' }); Can you speak to this more? Why do you call it "now_with_server_tz"? The server TZ isn't necessarily in UTC. That's the bug that is trying to be fixed. If I understand this patch correctly, this doesn't fix the problem. -- 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/
