Skip to content

Commit f34ac81

Browse files
committed
Fix value range
1 parent 2955728 commit f34ac81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ds3231_displayio_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@
5757
t = ds3231.datetime
5858
# Update the label.text property to change the text on the display
5959
display_output_label.text = f"{days[t.tm_wday]}\
60-
\n{t.tm_mday} {months[t.tm_mon]} {t.tm_year}\
60+
\n{t.tm_mday} {months[t.tm_mon-1]} {t.tm_year}\
6161
\n{t.tm_hour}:{t.tm_min:02}:{t.tm_sec:02}"

0 commit comments

Comments
 (0)