Having the issue where an an agent (located in the midwest - America/Chicago timezone) cannot edit a ticket because the system says their lock is expiring soon / has expired (This appears as soon as they open the ticket and start editing). Server (and database) are set to America/Phoenix timezone.
Server OS is Rocky 8
Here is the copy/paste from dashboard-> information
osTicket Version v1.16.1 (b42ddc7) — v1.16.2 is available
Web Server Software Apache
MySQL Version 10.3.28
PHP Version 8.0.18
PHP Extensions
gdlib Used for image manipulation and PDF printing
imap Used for email fetching
xml XML API
xml-dom Used for HTML email processing
json Improves performance creating and processing JSON
mbstring Highly recommended for non western european language content
phar Highly recommended for plugins and language packs
intl Highly recommended for non western european language content
fileinfo Used to detect file types for uploads
zip Used for ticket and task exporting
APCu Improves overall performance
Zend Opcache Improves overall performance
PHP Settings
cgi.fix_pathinfo "1" is recommended if AJAX is not working
date.timezone America/Phoenix
Database Information and Usage
Schema XXXXXXX (localhost)
Schema Signature c37e165651dc289240fee7d244990ac1
Space Used 4.66 MiB
Space for Attachments 1.52 MiB
Timezone MST (Interpreted as America/Denver)
Here is the output of running SELECT @@GLOBAL.time_zone, @@SESSION.time_zone;
Seems to me like it's an issue with the agent browser javascript not converting from server/db time to local time correctly.