azure-powershell
azure-powershell copied to clipboard
Use Invariant Culture to Serialize the DateTime in Query String
Description of the new feature
We recently find the output of DateTime.ToString() is different in MacOs 14 from other platforms which causes the CosmosDB test case to fail Please use invariant culture when to call ToString()
Proposed implementation details (optional)
utcRestoreDateTime.ToString(CultureInfo.InvariantCulture)