Skip to content

Commit 3fc85ea

Browse files
committed
Update example to have Monday at index 0
Matches correct behavior of weekday number, with Monday as 0
1 parent 92a6ce1 commit 3fc85ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ds3231_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
rtc = adafruit_ds3231.DS3231(i2c)
1515

1616
# Lookup table for names of days (nicer printing).
17-
days = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
17+
days = ("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday")
1818

1919

2020
# pylint: disable-msg=using-constant-test

0 commit comments

Comments
 (0)