Bug #106763 | China's DST is not right | ||
---|---|---|---|
Submitted: | 17 Mar 2022 16:58 | Modified: | 28 Mar 2022 8:16 |
Reporter: | wei lee | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | china, DST, timezone |
[17 Mar 2022 16:58]
wei lee
[17 Mar 2022 17:06]
wei lee
same as jre: https://www.oracle.com/java/technologies/tzdata-versions.html tzdata2018f 2018/10/18
[18 Mar 2022 14:43]
MySQL Verification Team
HI Mr. lee, Thank you for your bug report. We have analysed all documentation related to the China's DST and concluded that you are correct. Verified as reported.
[25 Mar 2022 13:54]
Erlend Dahl
We have looked at this, and our guess is that you have loaded timezone info version 2018e or older, as this bug was fixed in 2018f: https://github.com/eggert/tz/commit/937286d45c0f89132f0bf2d92fc27c36ae909cd6 MySQL has no initial knowledge of timezone data unless it has been loaded into the database: https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html If you are on a Linux system, you can check the version of the timezone information in /usr/share/zoneinfo/tzdata.zi (first line in the file).
[25 Mar 2022 15:20]
wei lee
hi,Erlend Dahl Just like you said,my tzdata version is 2018e, since i upgrade to new version ,the DST is correct thx
[28 Mar 2022 13:52]
MySQL Verification Team
Mr. Lee, You are truly welcome.