Skip to content

Commit 3052a25

Browse files
committed
Custom patterns can also be used on date / time format
1 parent 9ab07b4 commit 3052a25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

res/themes/theme_example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ STATS:
13711371
INTERVAL: 1
13721372
DAY: # Format (Y/M/D ordering, month/day translations...) will match your computer locale
13731373
TEXT:
1374-
FORMAT: medium # short (2/20/23) / medium (Feb 20, 2023) / long (February 20, 2023) / full (Monday, February 20, 2023)
1374+
FORMAT: medium # short (2/20/23) / medium (Feb 20, 2023) / long (February 20, 2023) / full (Monday, February 20, 2023) / custom pattern e.g. "yyyy.MM.dd" (2024.02.20)
13751375
SHOW: False
13761376
X: 10
13771377
Y: 16
@@ -1390,7 +1390,7 @@ STATS:
13901390
ANCHOR: lt # Check https://pillow.readthedocs.io/en/stable/handbook/text-anchors.html
13911391
HOUR: # Format (12/24h, timezone translations) will match your computer locale
13921392
TEXT:
1393-
FORMAT: short # short (6:48 PM) / medium (6:48:53 PM) / long (6:48:53 PM UTC) / full (6:48:53 PM Coordinated Universal Time)
1393+
FORMAT: short # short (6:48 PM) / medium (6:48:53 PM) / long (6:48:53 PM UTC) / full (6:48:53 PM Coordinated Universal Time) / custom pattern e.g. "HH:mm:ss zzz" (6:48:53 EDT)
13941394
SHOW: False
13951395
X: 205
13961396
Y: 13

0 commit comments

Comments
 (0)