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

Adding an additional timestamp layout. #918

Merged
merged 4 commits into from
Sep 19, 2024

Conversation

Tang8330
Copy link
Contributor

@Tang8330 Tang8330 commented Sep 19, 2024

After this PR: #896, we are now strict about time parsing.

As such, this PR adds support for UTC layout

@Tang8330 Tang8330 marked this pull request as ready for review September 19, 2024 19:10
@Tang8330 Tang8330 requested a review from a team as a code owner September 19, 2024 19:10
RFC3339Nanosecond = "2006-01-02T15:04:05.000000000Z07:00"
RFC3339MillisecondUTC = "2006-01-02T15:04:05.000Z"
RFC3339Millisecond = "2006-01-02T15:04:05.000Z07:00"
RFC3339Microsecond = "2006-01-02T15:04:05.000000Z07:00"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also add RFC3339MicrosecondUTC and RFC3339Nanosecond UTC?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doesn't hurt, I'll add!

@Tang8330 Tang8330 merged commit 2035fc3 into master Sep 19, 2024
3 checks passed
@Tang8330 Tang8330 deleted the adding-additional-timestamp-value branch September 19, 2024 20:27
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