Eye Exam form IOP time is not generated correctly after 12pm

So there is an issue with the eye exam form that has been present from at least OpenEMR 7.0.0 (when I first started using OpenEMR). When I create a new eye exam form the current time of the PC is used for IOP time if the time is before 12pm. If the current time is after 12pm then IOP time always shows 2:00 AM whereas it should work normally (eg 3:00 PM).
This has something to do with the timezone as it works normally when timezone is set to Unassigned but wrongly when set to eg Europe/Istanbul.

OpenEMR Version
I’m using OpenEMR version 7.0.2 (upgrade from 7.0.1)

I’m using: Firefox 119

Operating System
I’m using: Windows 11 x64