regebro/tzlocal

Can't get timezone on windows 10

KernelErr opened this issue · 3 comments

Hi, I encountered an error that tzlocal can't get local timezone. So I checked my registry and didn't find a key named 'TimeZoneKetName'. Only after I changed my timezone in the time settings manually, this key would appear. Seems that Windows wouldn't create this registry in the first run. Is it necessary to fix this problem? Thanks.

Strange that it didn't exist. But I don't think it's possible to fix it, except do what you did.

Well,you should configure the timezone again in the control panel,then it should work. (I fixed it just now.)

Well,you should configure the timezone again in the control panel,then it should work. (I fixed it just now.)

The strange thing is that it suddenly appeared after runing for few days.