Skip to content

Commit

Permalink
timedatectl: add Chinese translation (#13715)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryo authored Sep 21, 2024
1 parent 59bfa4b commit c8c0685
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pages.zh/linux/timedatectl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# timedatectl

> 控制系统时间和日期。
> 更多信息:<https://manned.org/timedatectl>.
- 检查当前系统时钟时间:

`timedatectl`

- 直接设置系统时钟的本地时间:

`timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"`

- 列出可用时区:

`timedatectl list-timezones`

- 设置系统时区:

`timedatectl set-timezone {{时区}}`

- 启用网络时间协议(NTP)同步:

`timedatectl set-ntp on`

- 将硬件时钟时间标准更改为本地时间:

`timedatectl set-local-rtc 1`

0 comments on commit c8c0685

Please sign in to comment.