I came up with a workaround for Windows, maybe cumbersome but it does work.
This is true but the displayed format defined at OS level can differ from the OS level language setting. This is also inconsistent: I can overwrite the language in the Settings of Obsidian but I canāt set the date format independently from it. Please we know this is just a cosmetic change but having a different date format in Obsidian and the OS, is very annoying.
Is there a sign of willingness from the developers to change this?
I totally support this. Iām struggling with dates as well. It seems something has been changed recently. In properties the date changed (for me in German: āLetzte Ćnderungā for today displays 20.02.2006. Today is 6.2.2025! When I change the type to text it displays the correct date. But I use 3 different date related properties. And I want to use them to sort lists and tables. But that doesnāt work when I change the date related property from date to text. Why is this so complicated? Iād be happy if the date fields would exactly match the system preferences on my Mac - but they donāt. What can I do?
AFAIK, this can happen when the value of the date or date/time key in Source mode
wasnāt written following the ISO8601 format (as itās the only format allowed for date and date/time types of keys in Properties
) and Properties
canāt parse the value of the key correctly ā¦
I could still be wrong though ⦠But reading your post made me think about this similar issue here: {{date}} not returning today's date in templates - #5 by Pch
If anyoneās interested, I finally managed to get the ISO date format working on Linux, although I might have broken a few things along the way. Using a GNOME Desktop over Linux Mint.
First, you have to set your āLANGUAGE=en_dkā in the exec arguments inside the obsidian.desktop file. This works for non-English languages with a date format similiar to ISO i.e Korean or Japanese, but Obsidian seems to automatically funnel all non US English locales into using āen_gbā. Looking at the value of the ānavigator.languagesā array in the developer console, which is ordered by priority, āen_gbā always ranks first, followed by the regional English locale in use, and then just āenā. First spent ages trying to change my system locale to get Obsidian to recognise it, then went down a rabbit hole of trying to figure out where the default Electron pipeline gets locale data from on Linux and how it orders this array and finally figured hey, if āen_gbā didnāt exist anymore then things would be a lot easier.
Essentially, I manually unpacked the Obsidian AppImage using the āāappimage-extractā argument, went into the locales folder inside, and deleted both āen_gb.pakā and āen_us.pakā to be safe. Then, I turned it back into an AppImage using a helper tool called āappimagetoolā, and ran this new AppImage with the āen_dkā exec argument again, and it ACTUALLY WORKED. I canāt seem to open up the developer tools window anymore and might have broken other things but IT WORKS. All dates in the property view use the ISO format correctly as per āen_dkā.
For context, my first time using Linux was yesterday and this took me way too long to figure out but it was bothering me too much and I wasnāt able to actually work properly in my vault until I fixed it. I also have absolutely no clue how javascript or electron or any of these things work and largely googled my way through most of it. If anyone with a slightly better understanding of things is willing to figure out why this worked, and why the developer tools menu wonāt open any more, there might be a more elegant solution here.
Obsidian doesnāt follow regional settings (at least on Linux). It follows only to your language locale. If you want normal (for EU people) dates, then change your en_us to en_gb language
I have same problem date property format is mm/dd/yyyy while in language/region the format is correct (dd/mm/yyyy)
Thereās definitely a bug involved.
Backstory: Iām located in Austria, but i like using an English OS and apps, so iāve had my region in Windows 10 set to āEnglish (Germany)ā. However, this resulted in a weird bug with MS Office, so i had to change it to āEnglish (Australia)ā and my input to āGerman (Germany)ā.
Before, while i was on āEnglish (Germany)ā, Obsidian honored the OSās setting of dd.mm.yyyy. After changing my region, it is still set this way, but Obsidian now shows me dd/mm/yyyy. No way to change it (other than workarounds mentioned in this thread ā probably).
Well, having said all this, i would still love a setting inside Obsidian to customize what exactly is shown in the properties area. I would even like to go one step further and have a long format shown, like āTuesday, March 11, 2025ā or whatever i want.
OS Windows 7 SP1 x64 + Obsidian 1.8.9 via VxKex.
OS uses YYYY-MM-DD, but Obsidian property insists on MM-DD-YYYY. Aggrrhh!
I also just tested changing the environment variable for the language on the launch options of obsidian in KDE, and fortunately thatās the only thing I needed to change for it to show correctly the date format.
Before:
After:
Just for the heads up I am using obsidian installed directly via the Arch Linux package manager instead of an AppImage so results may vary between installation method and/or distro so perhaps the other steps that you did may be necessary for the AppImage installation.
Also having the same Date & Time property display issue.
Iāve set a YAML property with the Property type āDate & timeā. I fill it out as yyyy-MM-DD HH:mm. I want it to be displayed as 2025/03/29 17:59 , but instead it displays in American style 03/29/2025 05:59 PM. When I inspect the property, it has the correct yyyy-MM-DD HH:mm
.
Iām on Windows 11 and my system is set to Japanese (which follows yyyy-MM-DD format), but my Obsidian display language is set to English. I also sync with an Android phone among others and donāt want to go a hacky way for all my devices.
I very much would like to change the displayed format. I hope this added to Obsidian soon.
same here. Using Android + Windows in combination. I donāt want to change my OS settings. In Android I get YYYY-MM-DD which is what I want, on Windows/Austria I get DD.MM.YYYY. I always want YYYY-MM-DD
Please make Date Format configurable within Obsidian.
Not just for this feature, but generally this could be something on the level of Vault or User (when sharing vaults with others).
Stored format internally should always be the technical ISO YYYY-MM-DD (obviously, xkcd: ISO 8601 )
You can change date format by adding to your Obsidian desktop shortcut switch Obsidian.exe --lang=ru
(or some other lang).
By the way, Obsidian developers, seems, could add command app.commandLine.appendSwitch('lang', 'RU')
to match Obsidian UI and properies format.
More details: Add API to set locale of current app Ā· Issue #5649 Ā· electron/electron Ā· GitHub