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

Non-matching quotes used in error message for date parsing #1191

Closed
born2snipe opened this issue Apr 11, 2016 · 3 comments
Closed

Non-matching quotes used in error message for date parsing #1191

born2snipe opened this issue Apr 11, 2016 · 3 comments
Milestone

Comments

@born2snipe
Copy link

Could you change this to use the same quotations or just use the original value that was passed into the method?

java.text.ParseException: Failed to parse date ["2016-04-11T13:36:30.7Z']: 2016-04-11T13:36:30.7Z

https://github.com/FasterXML/jackson-databind/blob/master/src/main/java/com/fasterxml/jackson/databind/util/ISO8601Utils.java#L297

@cowtowncoder
Copy link
Member

Ah. Yes, I will make quotes match.

@cowtowncoder cowtowncoder changed the title misleading exception message Non-matching quotes used in error message for date parsing Apr 12, 2016
@cowtowncoder cowtowncoder modified the milestones: 2.7.0, 2.7.4 Apr 12, 2016
@born2snipe
Copy link
Author

thank you, sir

@cowtowncoder
Copy link
Member

@born2snipe thank you for reporting it -- error messages are mundane things, but very important when things go wrong... so I really want to improve them.

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