Skip to content

DateTimeParseException issue persists #195

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

Closed
Somnium99 opened this issue Apr 18, 2022 · 1 comment
Closed

DateTimeParseException issue persists #195

Somnium99 opened this issue Apr 18, 2022 · 1 comment

Comments

@Somnium99
Copy link

I'm trying to parse String datetime and suddenly getting this exception :

java.time.format.DateTimeParseException: Text '2022-04-03T09:17:08.256399+03:00' could not be parsed, unparsed text found at index 26

This might related to this issue :
#56
and:
#41

@Somnium99 Somnium99 changed the title Exception parsing offsets DateTimeParseException issue persists Apr 18, 2022
@dkhalanskyjb
Copy link
Collaborator

What type of object exactly are you trying to parse? LocalDateTime.parse won't work, because this string does not denote a LocalDateTime. Try Instant.parse.

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

No branches or pull requests

2 participants