Skip to content

Commit 40d2a42

Browse files
committed
Refactor sample tz files
1 parent 39c0847 commit 40d2a42

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Fast CLI world clock that displays time zone information using
88
[tz database] to read valid [tz entries].
99

1010
```console
11-
$ twc -h -f test.txt
11+
$ twc -h -f tz-small.conf
1212
America/New York 2023-12-10 16:39:43 -0500
1313
America/Los Angeles 2023-12-10 13:39:43 -0800
1414
UTC 2023-12-10 21:39:43 +0000
@@ -61,9 +61,12 @@ Options:
6161
-t Manually specify a tz database entry.
6262
6363
Files:
64-
/.config/twc/tz.conf
64+
~/.config/twc/tz.conf
6565
Stores valid tz database identifiers to be displayed by twc.
6666
67+
Examples:
68+
69+
6770
See also:
6871
time(3), strftime(3)
6972
```

tz-small.conf

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
America/New_York
2+
America/Los_Angeles
3+
UTC
4+
Europe/London
5+
Europe/Paris
6+
Asia/Tokyo
7+
Australia/Sydney

tz.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# tz.conf - entries from /usr/share/zoneinfo, VERSION 2023c
1+
# tz.conf - /usr/share/zoneinfo, VERSION 2023c
22

33
Africa/Abidjan
44
Africa/Accra

0 commit comments

Comments
 (0)