Merge 240b08eaea into c3b968aa10
This commit is contained in:
commit
c6164fb898
4 changed files with 8 additions and 4 deletions
|
|
@ -233,7 +233,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