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 tz::TimeZone for az-cli time conversion on unix platforms #1431

Merged
merged 2 commits into from
Oct 3, 2023

Commits on Oct 3, 2023

  1. use tz::TimeZone to az-cli time conversion

    As indicated in Azure#1371, there are numerous issues with handling the
    az-cli's output of an access token's expiration date when it comes to
    time zones.
    
    An update to the Azure CLI is in progress that will add a _new_ field
    that will handle the conversion, currently tracked as Azure/azure-cli#27476.
    
    We should make use of this new feature once it's available, but we
    should also keep this functionality as a fallback for supporting older
    Azure CLIs.
    Brian Caswell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    bb6eb29 View commit details
    Browse the repository at this point in the history
  2. importing UtcOffset is required on non-unix platforms

    Brian Caswell committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    4d208a9 View commit details
    Browse the repository at this point in the history