Skip to content

Commit

Permalink
Merge pull request #27 from mew-cx/mewcx_day_of_week_fix
Browse files Browse the repository at this point in the history
Fix day-of-week string indexing to obey Python definition
  • Loading branch information
FoamyGuy committed Jun 13, 2022
2 parents 401e6dd + 4bde8c5 commit 042c491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ds1307_simpletest.py
Expand Up @@ -14,7 +14,7 @@
rtc = adafruit_ds1307.DS1307(i2c)

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


# pylint: disable-msg=using-constant-test
Expand Down

0 comments on commit 042c491

Please sign in to comment.