Context: Global issue as far as I can tell, affects all addons and all APIs (WASM, XML, HTML, Simconnect)
Bug description:
Time related simvars show wrong data:
E:LOCAL TIME instead of local time returns in-game UTC time E:ZULU TIME instead of in-game UTC time returns host computer UTC time. It’s not affected by sim time setting at all.
Date simvars in 2024 also show Windows date and not the date set in the simulator.
I checked XML and Token Variables, but I’m seeing the same issue in all stock MSFS aircraft as well, so I guess it’s a global issue that affects all API’s including html.
Also, because the clock in the sim continues to run but the UI isn’t updating, the UI quickly ends up not showing the correct time even in UTC. Sim Time on the NB21 Logger simconnect app is reading the “E:LOCAL TIME” simvar from MSFS2024 in the pic below.
Confimed. This code for instance was showing a model every 15 minutes for 15 minutes on the first day of each month. In MSFS2024 it shows the model for every 1st day of the month, but for the whole day:
(E:LOCAL DAY OF MONTH, Number) 1 ==
(E:ZULU TIME, minutes) 60 % flr 15 >= and
(E:ZULU TIME, minutes) 60 % flr 30 <= and
(E:ZULU TIME, minutes) 60 % flr 45 >= or if{ 1 } els{ 0 }