Skip to content

Inconsistent timezone configuration #1116

@AnatoliB

Description

@AnatoliB

On some Functions SKUs, including Flex Consumption, Get-TimeZone and related commands lead to inconsistent results: sometimes they take the TZ environment variable into account, but sometimes they assume UTC.

Proposed solution: after reloading environment variables (

), invoke System.TimeZoneInfo.ClearCachedData().

Workaround: Invoke [System.TimeZoneInfo]::ClearCachedData() from profile.ps1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions