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

Update log export filenames to use locale timestamps instead of UTC #5548

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

kofi-q
Copy link
Contributor

@kofi-q kofi-q commented Oct 23, 2024

Overview

Closes #5346

To avoid user confusion, this updates filenames on log export directories to reflect the date/time in the locale of the machine they were saved from, instead of using the UTC date/time, which might not match the day of the election at first glance.

Initially went with a format that included the timezone code at the end, but later found the utility used for our CVR exports, so just using that to be consistent.

Demo Video or Screenshot

Screenshot 2024-10-23 at 15 45 18

Testing Plan

  • Tried out a logs export on MarkScan before and after the change.

Checklist

  • [ ] I have added logging where appropriate to any new user actions, system updates such as file reads or storage writes, or errors introduced.
  • [ ] I have added a screenshot and/or video to this PR to demo the change
  • I have added the "user_facing_change" label to this PR to automate an announcement in #machine-product-updates

@kofi-q kofi-q requested review from a team, carolinemodic and eventualbuddha and removed request for a team and carolinemodic October 23, 2024 20:50
@kofi-q kofi-q merged commit 9a6fd8e into main Oct 24, 2024
62 checks passed
@kofi-q kofi-q deleted the 5346-logs-export-filenam branch October 24, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use local time rather than UTC in exported file paths/names
2 participants