gardesk/garlock / 99a513d

Browse files

Add time format documentation to config

Document common strftime patterns:
- 24-hour with/without seconds
- 12-hour with AM/PM
- Day and full date formats
Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
99a513dbc3cf7f8635591e661d5df5492ccf51a5
Parents
3048d99
Tree
28ce044

1 changed file

StatusFile+-
M garlock/src/config.rs 10 0
garlock/src/config.rsmodified
@@ -155,6 +155,16 @@ show_failed_attempts = true
155155
 
156156
 # Show current time on lock screen
157157
 show_time = false
158
+
159
+# Time format (strftime patterns)
160
+# Common formats:
161
+#   "%H:%M"     - 24-hour (14:30)
162
+#   "%H:%M:%S"  - 24-hour with seconds (14:30:45)
163
+#   "%I:%M %p"  - 12-hour with AM/PM (02:30 PM)
164
+#   "%I:%M:%S %p" - 12-hour with seconds (02:30:45 PM)
165
+#   "%l:%M %p"  - 12-hour no leading zero (2:30 PM)
166
+#   "%a %H:%M"  - Day + time (Mon 14:30)
167
+#   "%A, %B %d" - Full date (Monday, January 16)
158168
 time_format = "%H:%M"
159169
 
160170
 [font]