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

Timestamps are now represented to the millisecond rather than the second #847

Merged
merged 1 commit into from
Oct 16, 2020

Conversation

kstenerud
Copy link
Contributor

@kstenerud kstenerud commented Oct 16, 2020

Goal

Timestamp precision is currently only to the second. For some calculations, we really need millisecond precision. This is in particular important for breadcrumbs so that their order can be distinguished more easily.

Design

The time formatter was changed to write to the millisecond, and to read first to the millisecond, and then progressively attempt to read the legacy formats.

Changeset

BSG_RFC3339DateTool.m has been updated to handle milliseconds.

Testing

  • Test were updated to expect millisecond precision. All automated tests have been re-run.
  • Generated events manually and verified that the website UI now displays subsecond precision in the breadcrumbs list.

@kstenerud kstenerud marked this pull request as ready for review October 16, 2020 07:54
@kstenerud kstenerud merged commit 41749a7 into next Oct 16, 2020
@kstenerud kstenerud deleted the 5191-timestamp-precision branch October 16, 2020 13:26
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.

2 participants