commit 565bfde6fd3e792e303e0b8adab0dc3d528ce41a from: Matthias L. Jugel date: Wed Nov 15 19:25:11 2023 UTC small cleanup of the utc output commit - b8973609b789fde40f78000c942f47c6334e77d3 commit + 565bfde6fd3e792e303e0b8adab0dc3d528ce41a blob - 257e8801fc06933994a7ee6949882f8912044e76 blob + 17953fec1f0a03cb975e0896b7c3008071f5e5d6 --- src/main.py +++ src/main.py @@ -71,8 +71,7 @@ def main(): rtc = RTC() ntptime.settime() (year, month, day, weekday, hours, minutes, seconds, subseconds) = rtc.datetime() - print("UTC Time: ") - print((year, month, day, hours, minutes, seconds)) + print(f"UTC Time: {(year, month, day, hours, minutes, seconds)}") except OSError as e: print(f"NIC: connection could not be established {e}")