-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Extensions use incorrect locale (at least for date formatting) #56995
Comments
@PikeUK Can you try running a simple minimal electron app and see what you get there when you use See https://github.com/electron/electron-quick-start. Since VS Code is based on electron, I want to rule out any upstream issues first |
This is nothing to do with extension management... Starting with @alexandrudima to see if it is related to extension host some how |
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding and happy coding! |
Not understanding at all, to be honest. We have a fundamental issue with dates which may not seem. big deal for a team that uses the format that only the US uses, but for the rest of the world with teams from multiple regions, date format matters. Especially when the default is the worst possible format: x/y/z. I'm sorry your inbox is a little full. VSCode is an amazing, incredible gift to the world. But this bug seems fundamental and at the same time fairly straightforward to fix.Please don't brush this one under the carpet with a "thanks for understanding". |
Issue Type: Bug
I'm using Windows 10 Pro, set to en-GB.
Extensions aren't using the OS locale for date formatting. I first noticed this in the Hg extension's show history command but it's not specific to that extension.
STR:
Expected:
A notification should appear displaying the current date in the OS locale format.
Actual:
A notification appears displaying the current date in en-US format.
If you run new Date().toLocaleDateString() in the Developer Tools console it correctly displays using the OS locale format. I've attached a screenshot showing my OS settings, the incorrect notification date, and the correct Developer Tools console date:
This could be related to or a duplicate of issue #16261 but that seems to be OSX specific.
VS Code version: Code 1.26.1 (493869e, 2018-08-16T18:38:57.434Z)
OS version: Windows_NT x64 10.0.16299
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (4)
The text was updated successfully, but these errors were encountered: