Skip to content

Commit

Permalink
Update example to have Monday at index 0
Browse files Browse the repository at this point in the history
Matches correct behavior of weekday number, with Monday as 0
  • Loading branch information
tekktrik committed Nov 23, 2021
1 parent 92a6ce1 commit 3fc85ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ds3231_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
rtc = adafruit_ds3231.DS3231(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 3fc85ea

Please sign in to comment.