Skip to content

A local-first personal finance app

Add extra date format (#5353)

martijnhielemacafcc823cbf9
diff --git a/packages/desktop-client/src/components/settings/Format.tsx b/packages/desktop-client/src/components/settings/Format.tsx
index 668b6f3158..02eddb242a 100644
--- a/packages/desktop-client/src/components/settings/Format.tsx
+++ b/packages/desktop-client/src/components/settings/Format.tsx
@@ -45,6 +45,7 @@ const dateFormats: { value: SyncedPrefs['dateFormat']; label: string }[] = [
{ value: 'yyyy-MM-dd', label: 'YYYY-MM-DD' },
{ value: 'MM.dd.yyyy', label: 'MM.DD.YYYY' },
{ value: 'dd.MM.yyyy', label: 'DD.MM.YYYY' },
+ { value: 'dd-MM-yyyy', label: 'DD-MM-YYYY' },
];
export function FormatSettings() {
diff --git a/upcoming-release-notes/5353.md b/upcoming-release-notes/5353.md
new file mode 100644
index 0000000000..b02fc893ed
--- /dev/null
+++ b/upcoming-release-notes/5353.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [martijnhielema]
+---
+
+Adding DD-MM-YYYY as a date format option for displaying.