mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13:01 +00:00
Sizing and Spacing
CHanged font sizing on chart and clock spacing
This commit is contained in:
@@ -89,9 +89,10 @@ class Clock:
|
||||
# Get AM/PM
|
||||
ampm = current.strftime('%p')
|
||||
|
||||
# Format date with ordinal suffix
|
||||
# Format date with ordinal suffix - more compact format
|
||||
day_suffix = self._get_ordinal_suffix(current.day)
|
||||
date_str = current.strftime(f'%A, %B %-d{day_suffix}')
|
||||
# Use %b for abbreviated month name and remove extra spaces
|
||||
date_str = current.strftime(f'%a,%b %-d{day_suffix}')
|
||||
|
||||
return time_str, ampm, date_str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user