From 3fc85ea2c69b641944046a203480a34f0d19260c Mon Sep 17 00:00:00 2001 From: Alec Delaney <tekktrik@gmail.com> Date: Tue, 23 Nov 2021 13:45:44 -0500 Subject: [PATCH] Update example to have Monday at index 0 Matches correct behavior of weekday number, with Monday as 0 --- examples/ds3231_simpletest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ds3231_simpletest.py b/examples/ds3231_simpletest.py index bd0c54e..8cb7788 100644 --- a/examples/ds3231_simpletest.py +++ b/examples/ds3231_simpletest.py @@ -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