QUERY · ISSUE
No format of tzinfo accepted in RTC.init()
Documentation defines RTC.init() method accepting tzinfo argument:
.. method:: RTC.init(datetime)
Initialise the RTC. Datetime is a tuple of the form:
``(year, month, day[, hour[, minute[, second[, microsecond[, tzinfo]]]]])``
But not just that that docu doesn't specify format (Object/String) of the tzinfo it also "doesn't work".
CANDIDATE · PULL REQUEST
docs: Make the machine.RTC reflect reality on esp8266
The documentation for machine.RTC is completely worng, not only
specifying wrong method names, but also wrong order of values in
the time tuple. Updated based on the source code.