Date type in properties enforces a date format different from system locale ( or set up locale )

Steps to reproduce

Be on a DD-MM-YYYY system ( french locale in my case
Create a vault
create a note with a property that has a date type and insert a date
Go into settings and switch “properties in document” to source
get a non locale conforming date

Did you follow the troubleshooting guide? [Y]

Yup, saw this sandbox vault existed while writing the bug and tried it out there

Expected result

Actual result

The date in source follows the YYYY-MM-DD

Environment

SYSTEM INFO:
Obsidian version: v1.4.5
Installer version: v1.3.5
Operating system: Windows 10 Home 10.0.19045
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 33
Plugins enabled: 32
1: Icon Folder v2.1.2
2: Commander v0.5.0
3: Excalidraw v1.9.18
4: TagFolder v0.17.5
5: Tag Wrangler v0.5.11
6: Colored Tags v3.0.0
7: Calendar v1.5.10
8: Fantasy Calendar v3.0.0
9: Editor Syntax Highlight v0.1.3
10: Dataview v0.5.56
11: Tasks v4.6.1
12: Templater v1.16.0
13: Advanced URI v1.38.1
14: ExcaliBrain v0.2.9
15: Periodic Notes v0.0.17
16: Copy Inline Code v1.1.1
17: Advanced Tables v0.19.1
18: Obsidian Leaflet v5.7.3
19: Omnivore v1.6.0
20: Natural Language Dates v0.6.1
21: QuickAdd v1.2.1
22: Linter v1.19.1
23: Simple Embeds v1.14.1
24: Auto Link Title v1.4.1
25: Theme Picker v1.0.8
26: Frontmatter Tag Suggest v0.4.1
27: Settings Search v1.3.8
28: Show Current File Path v0.5.2
29: Supercharged Links v0.10.0
30: Style Settings v1.0.6
31: Better Inline Fields v0.3.5
32: Auto Front Matter v1.0.3


Additional information

image
image
image

Dates are saved as in the international ISO 8601 format to be more portable. If you saved your notes in DD/MM/YYYY and sent the note to someone on a US locale that uses MM/DD/YYYY you could risk the data being misinterpreted.

Mmmh, yeah but they make reading my own notes harder which I don’t particularly want to share anyway, and make me prone to misinterpret them myself.

But I’ll go and upvote that feature request.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.