You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Correct LoggingHookTest timestamp handling. (#386)
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->
## This PR
<!-- add the description of the PR here -->
While working on adding support for hook data I noticed unit tests only
run correctly in a UTC+0 timezone.
This PR formats the timestamp to match how it will appear in the log.
Alternatively the logging hook could be changed to always output UTC.
### Related Issues
<!-- add here the GitHub issue that this PR resolves if applicable -->
### Notes
<!-- any additional notes for this PR -->
### Follow-up Tasks
<!-- anything that is related to this PR but not done here should be
noted under this section -->
<!-- if there is a need for a new issue, please link it here -->
### How to test
<!-- if applicable, add testing instructions under this section -->
Unit tests should pass when running in a non-UTC timezone.
Signed-off-by: Ryan Lamb <[email protected]>
0 commit comments