Sunds like you have a time zone wrong some where (in osTicket settings, agent profile, database level)
all time zones are the same
@dustinakane
Here you go:
Cheers.
That did not work, reading the rest of the code to see if I can figure something out.
Going through the debugger, I noticed this method $form->setSource($_POST) is posting the current date instead of the date that is already saved.
I do not know where to go from here Going through the debugger, I noticed this method $form->setSource($_POST) is posting the current date instead of the date that is already saved.
In settings I use auto detect for default time zone. For date and time format I choose advanced and I noticed the time shows in the 24hr format and shows a 7 hr difference.
according to the screenshot below all timezones are the same, but the datetime picker is still posting the current date when no date is changed.
Where would I tell the datepicker to get its date from the textbox?
Your database timezone is MST, try setting it to a specific timezone such as America/Denver. After making those changes, retest.
America/Denver
attached is a screenshot of my sql database timezones, but osticket info screen shot still shows the same. I have even restarted the host machine
dustinakane Take a look at this post it may help you https://howtohelpdesk.com/how-to-set-time-zone-in-osticket/
intl PHP extension worked for me. Thank you everyone for your help.