-
Notifications
You must be signed in to change notification settings - Fork 265
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
in POST v2/entities, wrong values are allowed using DateTime type #2718
Comments
I looked into this error and found the following: parse8601Time(), instead of parsing the string, it relies on sscanf to do its work.
Look at the string for seconds: This string ('2016-04-05T14:10:.00Z') should give a parse error for ISO8601 but it passes through as a valid date. The calls to scanf use %d for all components except tz that is a char vector and seconds that is a float. Not sure about the format of 'seconds as char vector' for sscanf though ... Perhaps seconds and timezone must be combined into a char vector ... |
Related with #2303 |
(Feedback required from @fgalan) |
in POST v2/entities, wrong values are allowed using DateTime type.
Dataset
entity create request:
response:
expected response:
The text was updated successfully, but these errors were encountered: