1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

Base: Add a man page for the timezone utility

This commit is contained in:
Timothy Flynn 2022-01-28 16:11:40 -05:00 committed by Linus Groh
parent e72521f286
commit 93e90e16c3

View file

@ -0,0 +1,47 @@
## Name
timezone - View or set the system time zone
## Synopsis
```**sh
$ timezone [--list-time-zones] [time-zone]
```
## Description
The `timezone` utility can be used to view or change the current system time zone, or view all time zones available on the system.
## Options
* `-l`, `--list-time-zones`: View all available time zones and exit.
## Arguments
* `time-zone`: Time zone to change the system to use.
## Examples
Get the current system time zone:
```sh
$ timezone
UTC
```
Set the system time zone:
```sh
$ timezone America/New_York
```
View all available time zones:
```sh
$ timezone --list-time-zones
Africa/Abidjan
Africa/Algiers
Africa/Bissau
...
Pacific/Wake
Pacific/Wallis
PST8PDT
WET
```