Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tyeth opened this issue Mar 21, 2025 · 0 comments
Labels
enhancement New feature or request offline-mode

Comments

@tyeth
Copy link
Contributor

tyeth commented Mar 21, 2025

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 tyeth added offline-mode enhancement New feature or request labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request offline-mode
Projects
None yet
Development

No branches or pull requests

1 participant