diff --git a/webapp/src/components/properties/dateRange/__snapshots__/dateRange.test.tsx.snap b/webapp/src/components/properties/dateRange/__snapshots__/dateRange.test.tsx.snap index c0617b5eb..2a92f7502 100644 --- a/webapp/src/components/properties/dateRange/__snapshots__/dateRange.test.tsx.snap +++ b/webapp/src/components/properties/dateRange/__snapshots__/dateRange.test.tsx.snap @@ -10,7 +10,7 @@ exports[`components/properties/dateRange cancel set via text input 1`] = ` type="button" > - June 15 -> June 20 + June 15 → June 20 @@ -80,7 +80,7 @@ exports[`components/properties/dateRange set via text input 1`] = ` type="button" > - June 15 -> June 20 + June 15 → June 20 @@ -97,7 +97,7 @@ exports[`components/properties/dateRange set via text input, es locale 1`] = ` type="button" > - 15 de junio -> 20 de junio + 15 de junio → 20 de junio diff --git a/webapp/src/components/properties/dateRange/dateRange.test.tsx b/webapp/src/components/properties/dateRange/dateRange.test.tsx index 2e9db0a5b..0e14fb845 100644 --- a/webapp/src/components/properties/dateRange/dateRange.test.tsx +++ b/webapp/src/components/properties/dateRange/dateRange.test.tsx @@ -155,7 +155,7 @@ describe('components/properties/dateRange', () => { expect(container).toMatchSnapshot() // open modal - const dayDisplay = getByRole('button', {name: 'June 15 -> June 20'}) + const dayDisplay = getByRole('button', {name: 'June 15 → June 20'}) userEvent.click(dayDisplay) @@ -192,7 +192,7 @@ describe('components/properties/dateRange', () => { expect(container).toMatchSnapshot() // open modal - const dayDisplay = getByRole('button', {name: '15 de junio -> 20 de junio'}) + const dayDisplay = getByRole('button', {name: '15 de junio → 20 de junio'}) userEvent.click(dayDisplay) @@ -227,7 +227,7 @@ describe('components/properties/dateRange', () => { expect(container).toMatchSnapshot() // open modal - const dayDisplay = getByRole('button', {name: 'June 15 -> June 20'}) + const dayDisplay = getByRole('button', {name: 'June 15 → June 20'}) userEvent.click(dayDisplay) const fromInput = getByDisplayValue('June 15') diff --git a/webapp/src/components/properties/dateRange/dateRange.tsx b/webapp/src/components/properties/dateRange/dateRange.tsx index b0dcf4483..50048a0c2 100644 --- a/webapp/src/components/properties/dateRange/dateRange.tsx +++ b/webapp/src/components/properties/dateRange/dateRange.tsx @@ -134,7 +134,7 @@ function DateRange(props: Props): JSX.Element { displayValue = getDisplayDate(dateFrom) } if (dateTo) { - displayValue += ' -> ' + getDisplayDate(dateTo) + displayValue += ' → ' + getDisplayDate(dateTo) } const onClose = () => {