docs: time.mktime requires one positional argument
Documentation URL
No response
Description
when running the function time.mktime(), an exception occurs as the function does require one positional argument. But this is not documented, although it states "t’s argument is a full 8-tuple" inside the description.
Code of Conduct
Yes, I agree
docs: for time.localtime()
Hi Together,
I would remark that this description in the Doc is a little bit missleading.
'''
time.mktime()
https://docs.micropython.org/en/latest/library/time.html
This is inverse function of localtime. It’s argument is a full 8-tuple which expresses a time as per localtime. It returns an integer which is the number of seconds since Jan 1, 2000.
''''
Because on the Pico W the RTC works with the epoch since 1970.
Maybe a small redesign of this description would be perfect, my opinion.
A other point is that I want to aks what the actual status is about:
time.gmtime()
time.localtime()
Is there actually a Timezone information available in micropython?
If not Iam right that these two functions leads to the same result in time structure?
Thanks
Frank