clockwise icon indicating copy to clipboard operation
clockwise copied to clipboard

timezone problem

Open rookie1988 opened this issue 10 months ago • 5 comments

i have built my own clockwise. i am in China, but when I changed the timezone to Asia/Shanghai or Asia/Hong_Kong and the NTPserver to those of Chinese companies, it is still not working, always 8 hours late. Can anyone please tell me why.

rookie1988 avatar Dec 31 '24 00:12 rookie1988

Hi @rookie1988. That's too bad, sorry for that! Can you try to change the NTP time server, maybe it can fix the problem https://gist.github.com/mutin-sa/eea1c396b1e610a2da1e5550d94b0453. Or try to find a NTP server from China maybe.

If it still doesn't work, try to use the POSIX timezone, I know some users could fix the problem with this https://github.com/ropg/ezTime#timezones-1

Both changes are done in the config web page of clockwise.

jnthas avatar Dec 31 '24 14:12 jnthas

Hi @rookie1988. That's too bad, sorry for that! Can you try to change the NTP time server, maybe it can fix the problem https://gist.github.com/mutin-sa/eea1c396b1e610a2da1e5550d94b0453. Or try to find a NTP server from China maybe.

If it still doesn't work, try to use the POSIX timezone, I know some users could fix the problem with this https://github.com/ropg/ezTime#timezones-1

Both changes are done in the config web page of clockwise.

Thank you so much for answering my question. I will try the options that you provided to see if it works. Such a great project that you have made. Thanks again.

rookie1988 avatar Jan 01 '25 15:01 rookie1988

Image

set-up like this

Result is as following:

Image

Chenpeel avatar Mar 29 '25 09:03 Chenpeel

Hi @Chenpeel , are you reporting a problem in timezone or the display colors?

jnthas avatar Mar 30 '25 20:03 jnthas

Hi @Chenpeel , are you reporting a problem in timezone or the display colors?

thanks for your reply,I'm replying you for the Asia/Shanghai time problem. And there's a phenomenon that use cn NTP server, must restart three or more times, the board finally shows right time. (NTP: cn.pool.ntp.org)

Chenpeel avatar Mar 31 '25 05:03 Chenpeel