https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36217
Phil Ringnalda <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Phil Ringnalda <[email protected]> --- What timezone are the values for Queued, Started, and Ended in? The (sad) answer is that Queued is in server-time, and Started and Ended are in db-server-time, and your patch only works if server-time is UTC and the browser is at-or-after UTC. I see this bug on my production server, where both server-time and db-server-time are my own timezone, and your patch would work fine. But in ktd by default, both times are UTC and I'm UTC+7 or UTC+8, and so I don't see the bug, because "an hour ago or more recently" nicely covers the fact that jobs are enqueued 7 or 8 hours after the local time I actually enqueue them. If I put TZ=America/Los_Angeles in ktd's .env, then server time matches my time, and I can see the bug without the patch, and the patch fixes the bug, though it's a little odd that jobs are started and finished 7 or 8 hours after they were enqueued, and in the future while I'm looking at the job page (apparently getting db-server-time set in Docker is a bit harder than just setting TZ in ENV). If I put TZ=Pacific/Honolulu in ktd's .env, then jobs are enqueued three hours before I actually created them, and the patch does not work. -- 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/
