Adafruit_Wippersnapper_Arduino icon indicating copy to clipboard operation
Adafruit_Wippersnapper_Arduino copied to clipboard

Offline log files use the timestamp for filename, would be great if the file metadata timestamps matched too.

Open tyeth opened this issue 11 months ago • 0 comments

Files can have three dates associated, the Creation timestamp, the Modified timestamp, and the Archived timestamp. These are shown to the user in various places, but usually only the modified date is shown (or created timestamp is sometimes used, but never usually the archived date as it traditionally related to backup status).

The default for all log files is 01/01/2025, but it would be wonderful if the creation and modified timestamps were also set to the time used in the filename (assuming the RTC is valid).

When mentioned to Brent, he highlighted this example from the file operation examples: https://github.com/greiman/SdFat/blob/master/examples/RtcTimestampTest/RtcTimestampTest.ino

tyeth avatar Mar 21 '25 20:03 tyeth