Skip to content

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

Merged
antkmsft merged 12 commits intoAzure:mainfrom
antkmsft:azcli-localtime
Dec 16, 2023
Merged

AzureCliCredential to treat datetime without TZ info as local time.#5179
antkmsft merged 12 commits intoAzure:mainfrom
antkmsft:azcli-localtime

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
Contributor

@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
Contributor

@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