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

AzureCliCredential to treat datetime without TZ info as local time. #5179

Merged
merged 12 commits into from
Dec 16, 2023

Conversation

antkmsft
Copy link
Member

@antkmsft antkmsft commented Nov 23, 2023

Closes #5075.

This is not a replacement for #5180, because that one will work only if the user has the new version of Azure CLI installed.

Obsoletes #5076.

@antkmsft antkmsft requested a review from RickWinter November 28, 2023 08:47
@antkmsft antkmsft requested a review from ahsonkhan November 30, 2023 21:11
Copy link
Member

@ahsonkhan ahsonkhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, lgtm.

Holding off approval until after #5180 is merged.

@antkmsft antkmsft requested a review from ahsonkhan December 15, 2023 04:51
Copy link
Member

@ahsonkhan ahsonkhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a much cleaner and isolated fix (without requiring extra parsing logic in DateTime within Azure::Core). Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

az cli returns expiresOn in local time but sdk assumes c++ time
3 participants