diff --git a/.changeset/remove-ui-message.md b/.changeset/remove-ui-message.md new file mode 100644 index 00000000000..63b33ae490a --- /dev/null +++ b/.changeset/remove-ui-message.md @@ -0,0 +1,5 @@ +--- +"@keystone-6/core": minor +--- + +Removes default descrption for `timestamp` field when using `db.updatedAt`, use `ui.description` instead diff --git a/packages/core/src/fields/types/timestamp/views/index.tsx b/packages/core/src/fields/types/timestamp/views/index.tsx index 710ca58f210..d778f5371ff 100644 --- a/packages/core/src/fields/types/timestamp/views/index.tsx +++ b/packages/core/src/fields/types/timestamp/views/index.tsx @@ -145,12 +145,6 @@ export const Field = ({ ) )} - {((value.kind === 'create' && - typeof field.fieldMeta.defaultValue !== 'string' && - field.fieldMeta.defaultValue?.kind === 'now') || - field.fieldMeta.updatedAt) && ( - When this item is saved, this field will be set to the current date and time - )} );