Skip to content

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

Open
@tyeth

Description

@tyeth

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions