-
Notifications
You must be signed in to change notification settings - Fork 8
[BUG] DateTime format broken #225
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Send a PUT request for a submodel containing a Property with Datatype DateTime e.g. {
"idShort": "Date",
"valueType": "xs:dateTime",
"value": "22026-03-21T13:13:35.485Z",
"modelType": "Property"
}, - Retrieve the saved Value: {"idShort":"Date","modelType":"Property","value":"2026-03-21 13:13:35.485+00","valueType":"xs:dateTime"}
Expected behavior
Retrieve the saved Value should return the date back in ISO-Format.: {"idShort":"Date","modelType":"Property","value":"22026-03-21T13:13:35.485","valueType":"xs:dateTime"} as stored. Especially because storing a non-ISO formatted date time is not allowed.
BaSyx (please complete the following information):
- BaSyx Version eclipsebasyx/submodelrepository-go:1.0.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done