-
Notifications
You must be signed in to change notification settings - Fork 119
Fix/logging snprintf negative time 4556 #4593
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
base: main
Are you sure you want to change the base?
Fix/logging snprintf negative time 4556 #4593
Conversation
tarek-y-ismail
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One small nit...
AlanGriffiths
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some tweaks and some non-blocking comments you can chose to ignore
AlanGriffiths
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
tarek-y-ismail
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is failing. The following suggestion might help you fix it.
…hub.com/DigraJatin/mir into fix/logging-snprintf-negative-time-4556
Head branch was pushed to by a user without write access
tarek-y-ismail
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Now let's see if CI is happy.
…hub.com/DigraJatin/mir into fix/logging-snprintf-negative-time-4556
Closes #4556
What's new?
Past values will be printed like -
500 ms agoFuture values will be printed like -
100 ms in futureHow to test
Added unit tests for the function, run
./bin/mir_unit_tests --gtest_filter=TimestampTest.*and verify.Checklist