mirror of
https://github.com/mattermost/focalboard.git
synced 2025-02-04 19:15:49 +02:00
parent
a6cd2c9272
commit
f8176abd27
@ -10,7 +10,7 @@ exports[`components/properties/dateRange cancel set via text input 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span>
|
||||
June 15 -> June 20
|
||||
June 15 → June 20
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -80,7 +80,7 @@ exports[`components/properties/dateRange set via text input 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span>
|
||||
June 15 -> June 20
|
||||
June 15 → June 20
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -97,7 +97,7 @@ exports[`components/properties/dateRange set via text input, es locale 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span>
|
||||
15 de junio -> 20 de junio
|
||||
15 de junio → 20 de junio
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -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')
|
||||
|
@ -134,7 +134,7 @@ function DateRange(props: Props): JSX.Element {
|
||||
displayValue = getDisplayDate(dateFrom)
|
||||
}
|
||||
if (dateTo) {
|
||||
displayValue += ' -> ' + getDisplayDate(dateTo)
|
||||
displayValue += ' → ' + getDisplayDate(dateTo)
|
||||
}
|
||||
|
||||
const onClose = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user