summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.RTC.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/pyb.RTC.rst')
-rw-r--r--docs/library/pyb.RTC.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/pyb.RTC.rst b/docs/library/pyb.RTC.rst
index 286268655e..4c736597cf 100644
--- a/docs/library/pyb.RTC.rst
+++ b/docs/library/pyb.RTC.rst
@@ -28,13 +28,13 @@ Methods
.. method:: RTC.datetime([datetimetuple])
Get or set the date and time of the RTC.
-
+
With no arguments, this method returns an 8-tuple with the current
date and time. With 1 argument (being an 8-tuple) it sets the date
and time (and ``subseconds`` is reset to 255).
-
+
The 8-tuple has the following format:
-
+
(year, month, day, weekday, hours, minutes, seconds, subseconds)
``weekday`` is 1-7 for Monday through Sunday.