Activate DateFormat.INTL
This commit is contained in:
parent
12e8e39023
commit
66d51df1d7
2 changed files with 3 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ fieldTypes.option = {
|
|||
|
||||
fieldTypes['date'] = {
|
||||
validate: field => {
|
||||
enforce(['eur', 'us'].includes(field.settings.dateFormat), 'Date format incorrect');
|
||||
enforce(['eur', 'us', 'intl'].includes(field.settings.dateFormat), 'Date format incorrect');
|
||||
},
|
||||
addColumn: (table, name) => table.dateTime(name),
|
||||
indexed: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue