diff --git a/.changeset/yellow-melons-double.md b/.changeset/yellow-melons-double.md new file mode 100644 index 00000000000..38f2319761b --- /dev/null +++ b/.changeset/yellow-melons-double.md @@ -0,0 +1,5 @@ +--- +"@talend/react-components": patch +--- + +TMC-27480 - Fix wording on invalid date range for date time picker diff --git a/packages/components/src/DateTimePickers/shared/error-messages.js b/packages/components/src/DateTimePickers/shared/error-messages.js index a122ffdad53..8493eb2bd84 100644 --- a/packages/components/src/DateTimePickers/shared/error-messages.js +++ b/packages/components/src/DateTimePickers/shared/error-messages.js @@ -42,7 +42,7 @@ export default function getErrorMessage(key) { return t('DATETIME_INVALID_FORMAT', { defaultValue: 'Datetime is invalid' }); case 'INVALID_RANGE_START_AFTER_END': return t('INVALID_RANGE_START_AFTER_END', { - defaultValue: 'Start date should comes before end date', + defaultValue: 'Start date should come before end date', }); case 'INVALID_SELECTED_DATE': return t('INVALID_SELECTED_DATE', {