[BUG] [ResourceHealth] Property refreshTimestamp returned by the service does not follow the RFC format #31331
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Mgmt
This issue is related to a management-plane library.
Resource Health
Service Attention
Workflow: This issue is responsible by Azure service team.
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2121C10-L2121C26
API Spec version
2022-10-01
Describe the bug
The API https://learn.microsoft.com/en-us/rest/api/resourcehealth/emerging-issues/list?view=rest-resourcehealth-2022-10-01&tabs=HTTP returns property
refreshTimestamp
with value in format like2024-10-30 06:54:11Z
. Yet according to https://datatracker.ietf.org/doc/html/rfc3339#section-5.8, a vaild date-time string should be like2024-10-30T06:54:11Z
.Expected behavior
Return date-time string in format like
2024-10-30T06:54:11Z
.Actual behavior
It returns
2024-10-30 06:54:11Z
that is not a valid date-time string and has caused deserialization error in SDK.Reproduction Steps
Calling API https://learn.microsoft.com/en-us/rest/api/resourcehealth/emerging-issues/list?view=rest-resourcehealth-2022-10-01&tabs=HTTP.
Environment
No response
The text was updated successfully, but these errors were encountered: