-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
Description
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 (
| public void ReloadEnvironment( |
System.TimeZoneInfo.ClearCachedData().
Workaround: Invoke [System.TimeZoneInfo]::ClearCachedData() from profile.ps1.