[BUG] Unsupported DateTime format "6/1/2023 12:00:00 AM +00:00" #43029
Labels
ARM
Billing
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
azure-resourcemanager-billing 1.0.0 throws exception on billing account get operation due to startDate format for enrollment accounts. The start date in the latest version of https://learn.microsoft.com/en-us/rest/api/billing/billing-accounts/get?view=rest-billing-2024-04-01&tabs=HTTP has changed from
2018-05-01T17:32:28Z
to6/1/2023 12:00:00 AM +00:00
.CoreUtils::parseBestOffsetDateTime
is not able to handle this new format.Exception or Stack Trace
To Reproduce
Expected behavior
Correct deserialization of the start and end dates for the enrollment.
Setup (please complete the following information):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: