Steps to reproduce
Platform: WINDOWS. I have one system set to system local English, short date format YYYY-MM-DD and one system set to local Japanese, short date format YYYY-MM-DD. On my English local system when I create a property called “created” and enter the date 2023-10-14 it shows up correctly in the property viewer. On my system with Japanese local, short date format YYYY-MM-DD the created property value the same, it appears as MM-DD-YYYY.
I disabled everything - tested on two sandbox vaults.
I want to have the local set to Japanese and the date to follow the short date format of my system!
Described above - date in Japanese local, short date format YYYY-MM-DD is displayed as MM-DD-YYYY
English local system: Windows 10, Japanese local system: Windows 11.
I’m having the same problem, when I use English, on windows 11. If I change system language to Swedish it works ok.
Swedish System Language with Swedish Region Settings show correctly:
But with English System language and Swedish region setting it show “10/14/2023 08:05”
The regional settings/format should stay fixed (even if you switch languages) and can be customized the way you want.
To check your settings are correct, you can look at how the date is displayed on window taskbar. It should look the way you set up “short date” in regional format. After that, obsidian (and chrome) will follow (a restart of Obsidian might be needed).
I’m having the same problem. I use my system (Windows 10) in English, but my localization is in Brazilian Portuguese. Obsidian does not recognize the Windows localization settings and serves me the dates in en-US format.
The screenshots below show my localization settings and how Obsidian shows the dates. Also, other software like Office and Firefox renders dates correctly.
How does the windows clock on the taskbar look like?
Hi. Is number display format in number properties (thousand separator and decimal separator) determined by OS settings or something different?
Sorry for the late answer. The windows clock shows the date in the correct format.
@ImmaterialAardvark ok, now post a screenshot of the date in Obsidian, both in the properties UI and in source mode.
Iʼm here on Linux (Kubuntu derivate “Tuxedo OS”) and set the OS date explicitely to German style and it does not adjust in view mode. The format in source mode is
Operating System: TUXEDO OS 2
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.0-10006-tuxedo (64-bit)
Graphics Platform: X11
I already restarted the OS multiple times. I would expect Obsidian to take either the system format or a custom style as suggested in Properties: let the user customize the way Dates/Times are displayed (independently from OS) - #52 by barabasz
Hi @WhiteNoise, sorry for the late reponse again, but I do a lot of field work, and don’t check this forum to often as I should.
Here are the screenshots:
In properties UI:
In source mode:
If you open chrome and go on this page. How does the date input look like?
In Vivaldi, the date shows in en-US format (screenshot bellow).
Ok than this is either a Windows bug or a chromium bug.
Maybe. Vivaldi settings shows configuration almost correctly, but it shows the wrong date only in forms in sites.
With Linux it looks like this. So, is it a Chromium bug? My language is English whereas my date format is German. Perhaps Chromium uses the standard date format for the selected language instead of the date format independent of the standard format of the selected language?
For Linux the problem is figuring out where chrome is reading the locale information. You are setting something for kids, but is it for kids or is it system wise?
Is there a way to find that out or wouldn’t that help with fixing this issue?
Just an update, after formatting my PC because of unrelated problems, in Windows 11, my Properties now work as intended. I have no idea why, though.