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:
parent
e72521f286
commit
93e90e16c3
1 changed files with 47 additions and 0 deletions
47
Base/usr/share/man/man1/timezone.md
Normal file
47
Base/usr/share/man/man1/timezone.md
Normal 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
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue