kamocat / plog

Portable, simple and extensible C++ logging library. Ported to Arduino
Mozilla Public License 2.0
0 stars 1 forks source link

Wrong timestamp on Fat32 file #5

Closed kamocat closed 4 years ago

kamocat commented 4 years ago

I'm using the SdFat library to set the last-modified date on the files. However, it's 5 hours fast. I think this is a timezone issue, but I'm not sure why it's 5 hours - I'm in UTC-7. We need to add support for UTC anyway so this will handle daylight savings gracefully.