Open justin0309 opened 2 months ago
It seems that this command can be successfully tested manually, but auto-test still returns 400
curl -k -X PATCH -H "Content-Type: application/json" -H "X-Auth-Token: $token" -d '{"DateTime": "2024-06-05 14:07:08.695"}' https://xxx.xxx.xxx.xxx/redfish/v1/Managers/bmc
But it seems to comply with the ISO 8601 format string
@gkeishin
![image](https://github.com/openbmc/openbmc-test-automation/assets/109942943/af6b91e8-fbc3-4b49-a234-bd9d3d0fde10)
curl -k -X PATCH -H "Content-Type: application/json" -H "X-Auth-Token: $token" -d '{"DateTime": "2024-06-05 14:07:08.695"}' https://xxx.xxx.xxx.xxx/redfish/v1/Managers/bmc
Should it be modified to curl -k -X PATCH -H "Content-Type: application/json" -H "X-Auth-Token: $token" -d '{"DateTime": "2024-06-05T14:01:59.809Z"}' https://xxx.xxx.xxx.xxx/redfish/v1/Managers/bmc