Skip to content
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

Export to file: add a pretty CSV mode #516

Merged
merged 1 commit into from
Dec 31, 2024
Merged

Conversation

vmiklos
Copy link
Owner

@vmiklos vmiklos commented Dec 31, 2024

End-users sometimes want to show their sleep log to other people, but
the data exported to a file, but that is not human-readable.

The default export format is a CSV that is meant to be easy to import
back, i.e. a machine-readable file format.

Fix the problem by adding a setting (defaults to false): if enabled, the
export result will have formatted timestamps and also the sleep length
will be written there, if if that's redundant for a machine reader.

Fixes #515.

End-users sometimes want to show their sleep log to other people, but
the data exported to a file, but that is not human-readable.

The default export format is a CSV that is meant to be easy to import
back, i.e. a machine-readable file format.

Fix the problem by adding a setting (defaults to false): if enabled, the
export result will have formatted timestamps and also the sleep length
will be written there, if if that's redundant for a machine reader.

Fixes <#515>.
@vmiklos vmiklos enabled auto-merge (rebase) December 31, 2024 13:27
@vmiklos vmiklos merged commit 41d3c1d into master Dec 31, 2024
2 checks passed
@vmiklos vmiklos deleted the private/vmiklos/master branch December 31, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please explain the CSV export data format
1 participant