Skip to content

The Open Source DocuSign Alternative.

feat: add european date format (#1925)

Ephraim Duncan20198b5b6c61
diff --git a/packages/lib/constants/date-formats.ts b/packages/lib/constants/date-formats.ts
index 2a3855586..95a254705 100644
--- a/packages/lib/constants/date-formats.ts
+++ b/packages/lib/constants/date-formats.ts
@@ -9,6 +9,7 @@ export const VALID_DATE_FORMAT_VALUES = [
'yyyy-MM-dd',
'dd/MM/yyyy hh:mm a',
'MM/dd/yyyy hh:mm a',
+ 'dd.MM.yyyy HH:mm',
'yyyy-MM-dd HH:mm',
'yy-MM-dd hh:mm a',
'yyyy-MM-dd HH:mm:ss',
@@ -40,6 +41,11 @@ export const DATE_FORMATS = [
label: 'MM/DD/YYYY',
value: 'MM/dd/yyyy hh:mm a',
},
+ {
+ key: 'DDMMYYYYHHMM',
+ label: 'DD.MM.YYYY HH:mm',
+ value: 'dd.MM.yyyy HH:mm',
+ },
{
key: 'YYYYMMDDHHmm',
label: 'YYYY-MM-DD HH:mm',