Skip to content

Commit 88bb21d

Browse files
committed
fix: update default date format in useDateControl
- Changed the default date format from 'YYYY-MM-DD' to 'DD/MM/YYYY' to align with regional preferences. #95
1 parent 73cde5a commit 88bb21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/jsonforms/composables/controls/useDateControl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type UseDateControlOptions = {
1717
debounceWait?: number
1818
}
1919

20-
export const DEFAULT_DATE_FORMAT = 'YYYY-MM-DD'
20+
export const DEFAULT_DATE_FORMAT = 'DD/MM/YYYY'
2121
export const DEFAULT_DATETIME_FORMAT = 'YYYY-MM-DDTHH:mm:ss'
2222
export const DEFAULT_TIME_FORMAT = 'HH:mm:ss'
2323

0 commit comments

Comments
 (0)