Seeed_Arduino_FS icon indicating copy to clipboard operation
Seeed_Arduino_FS copied to clipboard

Date & Time of file creation is always 12/31/2017 11pm and incorrect

Open RaphTronic opened this issue 1 year ago • 0 comments

How can files created by Seeed_Arduino_FS show the correct date / time ?

Using the ReadWrite example from the Seeed_Arduino_FS library, all the files generated show a Date Created/Modified value of 12/31/2017 11pm under Windows. Regardless of the WIO RTC's actual date/time at the time of the file creation.

I could not find any WIO Terminal code example that properly initializes the file system's date. On non-WIO Arduino platforms the call SdFile::dateTimeCallback(dateTime); is used for that purpose but it does not seem to be supported by Seeed_Arduino_FS.

RaphTronic avatar Aug 22 '24 00:08 RaphTronic