Skip to content

Conversation

dannykopping
Copy link
Contributor

We replace timestamps in our golden files to keep the values constant.

However, if a non-UTC timezone is used then the timestamp will still be replaced but the whitespace will be messed up (since it was aligned to the original value).

image

Therefore we must force a timezone when generating golden files.

Signed-off-by: Danny Kopping <dannykopping@gmail.com>
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@dannykopping dannykopping enabled auto-merge (squash) April 23, 2025 11:23
@dannykopping dannykopping merged commit b3cc8e5 into main Apr 23, 2025
34 checks passed
@dannykopping dannykopping deleted the dk/utc-or-gtfo branch April 23, 2025 11:26
@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants