Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

UseLocalTimeZone in Invoke-SetupLab doesn't work on german system #227

Closed
andreasjordan opened this issue Jun 15, 2020 · 3 comments
Closed
Assignees
Labels
bug Pending Feedback waiting for additional information or feedback

Comments

@andreasjordan
Copy link

UseLocalTimeZone in Invoke-SetupLab uses "[System.TimeZone]::CurrentTimeZone.StandardName" to get the local time zone. This returns "Mitteleuropäische Zeit" on a german system. For the functionality to work correctly, the term "W. Europe Standard Time" is needed, as returned by "(Get-TimeZone).Id". But I don't now if this has negative effects on english systems.

@jdhitsolutions jdhitsolutions self-assigned this Jun 16, 2020
@jdhitsolutions
Copy link
Collaborator

Thanks for reporting this. This is one of those things that is hard to test for. But I think Get-TimeZone will work. This will be added in v4.13.0

@jdhitsolutions
Copy link
Collaborator

v4.13.0 has been published to the PSGallery. Run Update-Module then run Refresh-Host. Let me know if this fixes the problem.

@jdhitsolutions jdhitsolutions added the Pending Feedback waiting for additional information or feedback label Jun 16, 2020
@andreasjordan
Copy link
Author

Yes, works perfect. Thank you very much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Pending Feedback waiting for additional information or feedback
Projects
None yet
Development

No branches or pull requests

2 participants