Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information