Liangxu Linux
Liangxu Linux
Apr 6, 2025 · Operations

Set Linux Timezone to CST (Asia/Shanghai) with timedatectl and Manual Links

Learn step-by-step how to change a Linux system’s timezone to China Standard Time (CST, Asia/Shanghai) using the modern timedatectl command, creating a symbolic link to /etc/localtime, or setting the TZ environment variable for temporary adjustments, with verification commands and important cautions.

CSTLinuxTimezone
0 likes · 4 min read
Set Linux Timezone to CST (Asia/Shanghai) with timedatectl and Manual Links
MaGe Linux Operations
MaGe Linux Operations
Feb 11, 2025 · Operations

How to Set Linux Timezone to CST (Asia/Shanghai) in Minutes

This guide explains three methods to change a Linux system's timezone to China Standard Time (CST, Asia/Shanghai), covering the recommended timedatectl command, manual /etc/localtime linking, and a temporary TZ environment variable, with step‑by‑step commands and verification tips.

Asia/ShanghaiCSTTimezone
0 likes · 4 min read
How to Set Linux Timezone to CST (Asia/Shanghai) in Minutes
Programmer DD
Programmer DD
Aug 25, 2022 · Databases

Why MySQL JDBC Driver Misinterprets CST and How to Fix the 13‑Hour Time Shift

This article investigates a puzzling 13‑hour time discrepancy caused by the MySQL 8.x JDBC driver interpreting the ambiguous CST timezone as America/Chicago, explains the underlying driver code and JDK timezone mappings, and provides multiple practical solutions including server settings, driver parameters, and official fixes.

CSTJDBCJava
0 likes · 17 min read
Why MySQL JDBC Driver Misinterprets CST and How to Fix the 13‑Hour Time Shift