fix: 12-hour format strings in watch.yaml (#27)

This commit is contained in:
Jarett Millard
2024-04-10 21:52:15 -04:00
committed by GitHub
parent b19b0cb40d
commit 5989d32075

View File

@@ -79,11 +79,11 @@ elements:
# local clock # local clock
- type: Label - type: Label
rect: [19, 90, 200, 50] rect: [19, 90, 200, 50]
font_size: 46 font_size: 46 # Use 32 for 12-hour time
fg_color: "#ffffff" fg_color: "#ffffff"
source: Clock source: Clock
format: "%H:%M" # 23:59 format: "%H:%M" # 23:59
#format: "%h:%M %p" # 11:59 PM #format: "%I:%M %p" # 11:59 PM
# local date # local date
- type: Label - type: Label
@@ -105,12 +105,12 @@ elements:
# alt clock 1 # alt clock 1
- type: Label - type: Label
rect: [210, 90, 200, 50] rect: [210, 90, 200, 50]
font_size: 24 font_size: 24 # Use 18 for 12-hour time
fg_color: "#99BBAA" fg_color: "#99BBAA"
source: Clock source: Clock
timezone: "Asia/Tokyo" # change TZ1 here timezone: "Asia/Tokyo" # change TZ1 here
format: "%H:%M" # 23:59 format: "%H:%M" # 23:59
#format: "%h:%M %p" # 11:59 PM #format: "%I:%M %p" # 11:59 PM
- type: Label - type: Label
rect: [210, 60, 200, 50] rect: [210, 60, 200, 50]
font_size: 14 font_size: 14
@@ -121,12 +121,12 @@ elements:
# alt clock 2 # alt clock 2
- type: Label - type: Label
rect: [210, 150, 200, 50] rect: [210, 150, 200, 50]
font_size: 24 font_size: 24 # Use 18 for 12-hour time
fg_color: "#AA99BB" fg_color: "#AA99BB"
source: Clock source: Clock
timezone: "America/Chicago" # change TZ2 here timezone: "America/Chicago" # change TZ2 here
format: "%H:%M" # 23:59 format: "%H:%M" # 23:59
#format: "%h:%M %p" # 11:59 PM #format: "%I:%M %p" # 11:59 PM
- type: Label - type: Label
rect: [210, 120, 200, 50] rect: [210, 120, 200, 50]
font_size: 14 font_size: 14