summaryrefslogtreecommitdiff
path: root/docs/rp2/quickref.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/rp2/quickref.rst')
-rw-r--r--docs/rp2/quickref.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/rp2/quickref.rst b/docs/rp2/quickref.rst
index 9b82ea5dc..6be318050 100644
--- a/docs/rp2/quickref.rst
+++ b/docs/rp2/quickref.rst
@@ -310,8 +310,9 @@ See :ref:`machine.RTC <machine.RTC>` ::
from machine import RTC
rtc = RTC()
- rtc.datetime((2017, 8, 23, 2, 12, 48, 0, 0)) # set a specific date and
+ rtc.datetime((2017, 8, 23, 0, 1, 12, 48, 0)) # set a specific date and
# time, eg. 2017/8/23 1:12:48
+ # the day-of-week value is ignored
rtc.datetime() # get date and time
WDT (Watchdog timer)