Server accepts any string for DATETIME properties.
Summary
The server does not properly check if datetime properties follow some format.
Expected Behavior
The server should only allow valied datetime values.
Actual Behavior
It does not.
Steps to Reproduce the Problem
Using the Python client:
rec = db.Record(name="MyRecord").retrieve()
rec.properties[1].value = "2023-01-02 and the time was 12:13+0800"
rec.update()
rec.retrieve()
rec.properties[1].value = "There was nice weather yesterday evening."
rec.update()
rec.retrieve()
Specifications
- Version: v0.9.0
- Platform: LinkAhead on Linux
Possible fixes
Do you have ideas how the issue can be resolved?