Skip to content

Commit 042c491

Browse files
authored
Merge pull request #27 from mew-cx/mewcx_day_of_week_fix
Fix day-of-week string indexing to obey Python definition
2 parents 401e6dd + 4bde8c5 commit 042c491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ds1307_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
rtc = adafruit_ds1307.DS1307(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)