From 3f6ca4b22ced848a4b849610a8bce0410c2091cc Mon Sep 17 00:00:00 2001
From: puuu <puuu@users.noreply.github.com>
Date: Tue, 31 May 2016 22:38:07 +0900
Subject: [PATCH] docs/esp8266/general: Add note about RTC overflow.

---
 docs/esp8266/general.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/esp8266/general.rst b/docs/esp8266/general.rst
index d6ad83b2a..313e6074c 100644
--- a/docs/esp8266/general.rst
+++ b/docs/esp8266/general.rst
@@ -91,3 +91,12 @@ the following in ``main.py``::
 
 This will allow to keep the structure of your application clear, as well as
 allow to install multiple applications on a board, and switch among them.
+
+
+Real-time clock
+---------------
+
+Due to limitations of the ESP8266 chip the internal real-time clock (RTC)
+will overflow every 7:45h.  If a long-term working RTC time is required then
+``time()`` or ``localtime()`` must be called at least once within 7 hours.
+MicroPython will then handle the overflow.
-- 
GitLab