summaryrefslogtreecommitdiff
path: root/docs/esp8266/quickref.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/esp8266/quickref.rst')
-rw-r--r--docs/esp8266/quickref.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst
index 635f1f834..e17b60f67 100644
--- a/docs/esp8266/quickref.rst
+++ b/docs/esp8266/quickref.rst
@@ -284,7 +284,9 @@ See :ref:`machine.RTC <machine.RTC>` ::
from machine import RTC
rtc = RTC()
- rtc.datetime((2017, 8, 23, 1, 12, 48, 0, 0)) # set a specific date and time
+ 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
# synchronize with ntp