adafruit / Adafruit-uRTC

MicroPython library for RTCs
MIT License
26 stars 8 forks source link

function seconds2tuple() does not use passed argument "seconds" #2

Closed miketeachman closed 7 years ago

miketeachman commented 7 years ago

minor tweak appears to be needed: year, month, day, hour, minute, second, weekday, _yday = utime.localtime() change to: year, month, day, hour, minute, second, weekday, _yday = utime.localtime(seconds)

thanks!