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

Resolve DateTimeException for Unzoned Timestamps in parseDate #551

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

arturobernalg
Copy link
Member

@arturobernalg arturobernalg commented Feb 23, 2024

This PR provides a fix for HTTPCLIENT-2319, where parsing unzoned timestamp strings using parseDate resulted in a DateTimeException due to the absence of timezone information.

…meException, streamlining error handling for date parsing and conversion. This change ensures comprehensive management of parsing issues, including those due to absent time-zone information, aligning with our documentation that the method should return null when conversion to Instant is not feasible.
@arturobernalg arturobernalg merged commit f2b9a37 into apache:master Feb 23, 2024
9 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
Development

Successfully merging this pull request may close these issues.

2 participants