mIRC Homepage
Posted By: Rotab ZNC wrong time after DST - 26/03/23 02:01 AM
Hi, after the switch to DST incoming messages from ZNC are off by one hour.

mIRC 7.72

Private messaging myself shows this:
Code
[03:51:08] <Rotab> .
[04:51:08] <Rotab> .

Debug:
Code
<- @time=2023-03-26T01:51:08.551Z :Rotab!~Rotab@xxx PRIVMSG Rotab :..

//echo timezone: $timezone $daylight:
Code
timezone: -7200 3600

Disabling DST in Windows:
Code
[02:54:24] <Rotab> .
[02:54:24] <Rotab> .
Code
<- @time=2023-03-26T01:54:24.393Z :Rotab!~Rotab@xxx PRIVMSG Rotab :.
Code
timezone: -3600 0
Posted By: Rotab Re: ZNC wrong time after DST - 26/03/23 05:32 PM
I was on an older version, restarting didn't fix. Upgraded to the latest mIRC and it still wasn't working, but after restarting the new one it fixed itself.
© mIRC Discussion Forums