mIRC Homepage
Posted By: eahm ZNC Time wrong reading from the server? - 26/06/19 01:03 AM
Not sure how to explain what's going on here, so here are the two logs.

ZNC 1.7.4

mIRC 7.55:

Code
-
18:01:22 Caps supported: batch cap-notify echo-message multi-prefix server-time userhost-in-names znc.in/batch znc.in/self-message znc.in/server-time-iso
18:01:22 Caps set: batch multi-prefix server-time userhost-in-names
-
18:01:22 Password required
-
18:01:22 -irc.znc.in- *** You need to send your password. Configure your client to send a server password.
-
18:01:22 -irc.znc.in- *** To connect now, you can use /quote PASS <username>:<password>, or /quote PASS <username>/<network>:<password> to connect to a specific network.
-


mIRC 7.55.2084 Beta:

Code
-
18:03:02 Caps supported: batch cap-notify echo-message multi-prefix server-time userhost-in-names znc.in/batch znc.in/self-message znc.in/server-time-iso
01:03:03 Caps set: batch multi-prefix server-time userhost-in-names
-
01:03:03 Password required
-
01:03:03 -irc.znc.in- *** You need to send your password. Configure your client to send a server password.
-
01:03:03 -irc.znc.in- *** To connect now, you can use /quote PASS <username>:<password>, or /quote PASS <username>/<network>:<password> to connect to a specific network.
-
Posted By: Khaled Re: ZNC Time wrong reading from the server? - 26/06/19 08:15 AM
Thanks for your bug report.

Can you please include the raw debug log so that we can see the timezone prefix?

Also, what are your windows timezone and daylight savings settings?
Posted By: eahm Re: ZNC Time wrong reading from the server? - 26/06/19 08:29 AM
Not sure I understand what you need, is this enough?

Thank you.

mIRC 7.55:

Code
-> ZNC.IP CAP LS 302
-> ZNC.IP NICK m
-> ZNC.IP USER m 0 * :...
<- :irc.znc.in CAP unknown-nick LS :batch cap-notify echo-message multi-prefix server-time userhost-in-names znc.in/batch znc.in/self-message znc.in/server-time-iso
-> ZNC.IP CAP REQ :batch
-> ZNC.IP CAP REQ :multi-prefix
-> ZNC.IP CAP REQ :server-time
-> ZNC.IP CAP REQ :userhost-in-names
<- :irc.znc.in CAP m ACK :batch
<- :irc.znc.in CAP m ACK :multi-prefix
<- @time=2019-06-26T08:24:16.225Z :irc.znc.in CAP m ACK :server-time
<- @time=2019-06-26T08:24:16.225Z :irc.znc.in CAP m ACK :userhost-in-names
-> ZNC.IP CAP LIST
-> ZNC.IP CAP END
<- @time=2019-06-26T08:24:16.831Z :irc.znc.in CAP m LIST :batch multi-prefix server-time userhost-in-names
<- @time=2019-06-26T08:24:16.831Z :irc.znc.in 464 m :Password required
<- @time=2019-06-26T08:24:16.831Z :irc.znc.in NOTICE m :*** You need to send your password. Configure your client to send a server password.
<- @time=2019-06-26T08:24:16.831Z :irc.znc.in NOTICE m :*** To connect now, you can use /quote PASS <username>:<password>, or /quote PASS <username>/<network>:<password> to connect to a specific network.
-> ZNC.IP QUIT :


mIRC 7.55.2084 Beta:

Code
-> ZNC.IP CAP LS 302
-> ZNC.IP NICK m
-> ZNC.IP USER m 0 * :...
<- :irc.znc.in CAP unknown-nick LS :batch cap-notify echo-message multi-prefix server-time userhost-in-names znc.in/batch znc.in/self-message znc.in/server-time-iso
-> ZNC.IP CAP REQ :batch
-> ZNC.IP CAP REQ :multi-prefix
-> ZNC.IP CAP REQ :server-time
-> ZNC.IP CAP REQ :userhost-in-names
<- :irc.znc.in CAP m ACK :batch
<- :irc.znc.in CAP m ACK :multi-prefix
<- @time=2019-06-26T08:24:29.547Z :irc.znc.in CAP m ACK :server-time
<- @time=2019-06-26T08:24:29.547Z :irc.znc.in CAP m ACK :userhost-in-names
-> ZNC.IP CAP LIST
-> ZNC.IP CAP END
<- @time=2019-06-26T08:24:30.154Z :irc.znc.in CAP m LIST :batch multi-prefix server-time userhost-in-names
<- @time=2019-06-26T08:24:30.154Z :irc.znc.in 464 m :Password required
<- @time=2019-06-26T08:24:30.154Z :irc.znc.in NOTICE m :*** You need to send your password. Configure your client to send a server password.
<- @time=2019-06-26T08:24:30.154Z :irc.znc.in NOTICE m :*** To connect now, you can use /quote PASS <username>:<password>, or /quote PASS <username>/<network>:<password> to connect to a specific network.
-> ZNC.IP QUIT :
Posted By: Khaled Re: ZNC Time wrong reading from the server? - 26/06/19 08:42 AM
Thanks, let me clarify: for both versions of mIRC, I need to see 1) The raw debug log and 2) The status window log.

Also, please type the following command in both versions of mIRC in the status window and post the results: //echo timezone: $timezone daylight: $daylight
Posted By: eahm Re: ZNC Time wrong reading from the server? - 26/06/19 08:50 AM
The first post was from today, both logs are from the status and both versions, the second reply was from a moment ago, bot raw log with the znc ip masked, from both versions. Were they enough? Does "/debug on" give you the "raw debug"?

This is //echo timezone: $timezone daylight: $daylight ran on both versions:

mIRC 7.55:

Code
timezone: 25200 daylight: 0


mIRC 7.55.2084 Beta:

Code
timezone: 0 daylight: 0


Thank you.
Posted By: Khaled Re: ZNC Time wrong reading from the server? - 26/06/19 09:07 AM
Thanks for the extra details.

What is your Windows timezone setting?

Which version of Windows are you using?
Posted By: eahm Re: ZNC Time wrong reading from the server? - 26/06/19 09:10 AM
Windows 10 LTSC 2019
UTC -07:00 Arizona
Time set automatically
Time Zone set automatically

Arizona time never changes also, no DST, not sure it's relevant for this.
Posted By: Khaled Re: ZNC Time wrong reading from the server? - 26/06/19 10:07 AM
It looks like the beta is not displaying the correct $timezone value for your system.

Can you please run the following script in the beta and post the results:

Code
test {
  timeapi on | echo timezone: $timezone daylight: $daylight
  timeapi off | echo timezone: $timezone daylight: $daylight
}
Posted By: eahm Re: ZNC Time wrong reading from the server? - 26/06/19 10:15 AM
Code
-
* Time API is on
-
timezone: 0 daylight: 0
-
* Time API is off
-
timezone: 25200 daylight: 0
Posted By: Khaled Re: ZNC Time wrong reading from the server? - 26/06/19 02:53 PM
Thanks, I think I have found the cause of the issue. This should be fixed in the next version.
Posted By: eahm Re: ZNC Time wrong reading from the server? - 26/06/19 06:04 PM
Thank you Khaled.
Posted By: eahm Re: ZNC Time wrong reading from the server? - 27/06/19 05:38 PM
New beta seems to be working perfectly, I will keep testing.
© mIRC Discussion Forums