adafruit / Adafruit_CircuitPython_DS3231

Adafruit CircuitPython drivers for the DS3231 realtime clock.
MIT License
21 stars 19 forks source link

Match datetime.datetime.now() return format #1

Closed tannewt closed 6 years ago

tannewt commented 7 years ago

At @dpgeorge's suggestion:

btw, why is the datetime return tuple not the same format as datetime.datetime.now()? ideally anything to do with datetime would have format: (year, month, day, hour, min, sec, microsec)

tannewt commented 6 years ago

We match time.struct_time instead.