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

bugfix: iso8601 timestamp parsing #2974

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

stobrien89
Copy link
Member

Issue #, if available:
closes #2967

Fixes issue with parsing iso8601 timestamps with nanosecond precision, as this is not supported on PHP versions 8.0.9 and below. When parsing iso8601 timestamps, a version check and regex pattern are used to evaluate whether or not the timestamp should be modified. If so, the timestamp is reduced to microsecond precision prior to instantiating a new DateTimeResult object.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@stobrien89 stobrien89 merged commit 46c14c3 into aws:master Aug 2, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants