Cygwin shows UTC time instead of local time

后端 未结 1 848
迷失自我
迷失自我 2021-01-19 23:15

Today I noticed my cygwin shell is showing the wrong time. It is actually UTC time while it is supposed to be my local time. As soon as I unset the TZ variable it shows the

相关标签:
1条回答
  • 2021-01-19 23:33

    Thanks to matzeri that pointed out my tzdata, I tried to reinstall tzdata and saw an error about cygintl-8.dll. I searched for that package in Cygwin web site and fount it there: libintl8-0.19.8.1-2 - libintl8: GNU Internationalization runtime library (installed binaries and support files) reinstalled the package and problem is resolved.

    0 讨论(0)
提交回复
热议问题