micropython / micropython-esp32

Old port of MicroPython to the ESP32 -- new port is at https://github.com/micropython/micropython
MIT License
673 stars 216 forks source link

ports/esp32/modutime.c: add in localtime and mktime #203

Closed nickzoic closed 6 years ago

nickzoic commented 6 years ago

Uses code copied directly from Josef Gajdusek's contribution to the esp8266 port modifed to work on esp-idf.

Fixes #202

dpgeorge commented 6 years ago

Looks good! Is it ready to merge?

nickzoic commented 6 years ago

So far as I'm concerned it's good to go. I've done some hand testing and the answers come out right. It's all code copied from elsewhere in the MicroPython project ports anyway so no additional copyright issues.

dpgeorge commented 6 years ago

Merged in 2305d84844bf77a92d161aae77475a1d1a87101f, thanks!