interactive
interactive copied to clipboard
At load, System.Globalization.CultureInfo.CurrentCulture is InvariantCulture instead of OS culture
Describe the bug
- Open a dotNet Interactive notebook in Visual Studio Code.
- System.Globalization.CultureInfo.CurrentCulture is set to InvariantCulture instead of OS culture.
- This is confusing for most people, especially if looking at dates.
(By contrast,opening a powershell terminal in the same instance of VS Code shows that pwsh has set the CurrentCulture as per the OS. Similarly dotnet repl.)
Please complete the following:
Which version of .NET Interactive are you using?
Version: 1.0.246201+da749355d416da20e634e5c80073b92356b57e0e
- OS
- [X] macOS 11.6
- Frontend
- [X] Visual Studio Code
Version: 1.60.2 (Universal) Commit: 7f6ab5485bbc008386c4386d08766667e155244e Date: 2021-09-22T11:59:27.195Z Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin x64 20.6.0
Screenshots
If applicable, add screenshots to help explain your problem.