diff options
| author | D Delmar Davis <don@suspectdevices.com> | 2025-07-11 09:02:11 -0700 |
|---|---|---|
| committer | D Delmar Davis <don@suspectdevices.com> | 2025-07-11 09:02:11 -0700 |
| commit | 2eec0d4a6734b364eab2f69c4344208c17bfc17e (patch) | |
| tree | 589b2f2385a3309cd991ba1a15ab5feda253dd89 /bin | |
| parent | cf30344acae0efdd539253ec2da6190ecb17fb75 (diff) | |
doh!
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/bigclock.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/bigclock.py b/bin/bigclock.py index 0dd83a4..e8c4d90 100755 --- a/bin/bigclock.py +++ b/bin/bigclock.py @@ -66,8 +66,6 @@ def clearCollumn(col=6): def printTime(): date_string = f'{datetime.now():%I%M%p}' - print(date_string) - print(date_string[:-2]) if (date_string[0] == '1'): printShort1() else: @@ -79,7 +77,7 @@ def printTime(): clearCollumn(10) printNum4(int(date_string[3]),11) lcd.cursor_position(14,0) - lcd_message=date_string[4:6] + lcd.message=date_string[:-2 lcd.cursor_position(15,1) lcd.message=datetime.now().strftime("%d%b") |
