Rename DATE to DATETIME (#2576)
* Rename DATE to DATETIME * rename DATE to DATE_TIME * fix server tests * rename date to datetime * rename date to datetime
This commit is contained in:
@ -79,7 +79,7 @@ export const SettingsObjectFieldTypeSelectSection = ({
|
||||
[
|
||||
FieldMetadataType.Boolean,
|
||||
FieldMetadataType.Currency,
|
||||
FieldMetadataType.Date,
|
||||
FieldMetadataType.DateTime,
|
||||
FieldMetadataType.Link,
|
||||
FieldMetadataType.Number,
|
||||
FieldMetadataType.Relation,
|
||||
|
||||
@ -48,8 +48,8 @@ export const dataTypes: Record<
|
||||
Icon: IconCheck,
|
||||
defaultValue: true,
|
||||
},
|
||||
[FieldMetadataType.Date]: {
|
||||
label: 'Date',
|
||||
[FieldMetadataType.DateTime]: {
|
||||
label: 'Date & Time',
|
||||
Icon: IconCalendarEvent,
|
||||
defaultValue: defaultDateValue.toISOString(),
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
export type MetadataFieldDataType =
|
||||
| 'BOOLEAN'
|
||||
| 'DATE'
|
||||
| 'DATE_TIME'
|
||||
| 'ENUM'
|
||||
| 'MONEY'
|
||||
| 'NUMBER'
|
||||
|
||||
Reference in New Issue
Block a user