Skip to content

Commit

Permalink
fix(TMC-27480): fix wording on date range error message (#5264)
Browse files Browse the repository at this point in the history
Co-authored-by: Geoffroy Baccarini <[email protected]>
  • Loading branch information
Gbacc and Geoffroy Baccarini authored Apr 10, 2024
1 parent f4889d3 commit 9225a2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/yellow-melons-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@talend/react-components": patch
---

TMC-27480 - Fix wording on invalid date range for date time picker
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit 9225a2d

Please sign in to comment.