Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Invariant Culture to Serialize the DateTime in Query String #26365

Open
msJinLei opened this issue Oct 17, 2024 · 1 comment
Open

Use Invariant Culture to Serialize the DateTime in Query String #26365

msJinLei opened this issue Oct 17, 2024 · 1 comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB Service Attention This issue is responsible by Azure service team.

Comments

@msJinLei
Copy link
Contributor

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)
@msJinLei msJinLei added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Oct 17, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Oct 17, 2024
@isra-fel isra-fel added Service Attention This issue is responsible by Azure service team. bug This issue requires a change to an existing behavior in the product in order to be resolved. and removed feature-request This issue requires a new behavior in the product in order be resolved. labels Oct 17, 2024
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @pjohari-ms, @kushagraThapar, @simplynaveen20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants