PiClock icon indicating copy to clipboard operation
PiClock copied to clipboard

Not a issue per say

Open maserowik opened this issue 2 years ago • 3 comments

Upgraded to the latest version of PiClock. Is there a way to get the month and date to be to the left of the day? piclock

Thanks Mike

maserowik avatar Apr 10 '23 12:04 maserowik

in the PyQtPiClock.py file at the very end of AlignRight fix AlignLeft jpg

xenon462 avatar Apr 10 '23 18:04 xenon462

Looking to add the date also for example 4/10/2023 Monday 4/11/2023 Tuesday

maserowik avatar Apr 11 '23 18:04 maserowik

file PyQtPiClock.py line 527 (three-hour weather forecast. First, second and third line in a column)

day.setText("{0:%A %I:%M%p}".format(datetime.datetime.fromtimestamp( change

day.setText("{%m %d %Y 0:%A}".format(datetime.datetime.fromtimestamp( or 0:%A %H:%M%p

file PyQtPiClock.py line 590 (daily weather forecast. Fourth - ninth line of the whole column)

day.setText("{0:%A}".format(dt)) change day.setText("{%m %d %Y 0:%A}".format(dt)) or 0:%a

more about the time format https://docs.python.org/3/library/datetime.html

xenon462 avatar Apr 12 '23 05:04 xenon462