You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-06 23:36:34 +02:00
@ -10,7 +10,7 @@ exports[`components/properties/dateRange cancel set via text input 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
June 15 -> June 20
|
June 15 → June 20
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@ -80,7 +80,7 @@ exports[`components/properties/dateRange set via text input 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
June 15 -> June 20
|
June 15 → June 20
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@ -97,7 +97,7 @@ exports[`components/properties/dateRange set via text input, es locale 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
15 de junio -> 20 de junio
|
15 de junio → 20 de junio
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -155,7 +155,7 @@ describe('components/properties/dateRange', () => {
|
|||||||
expect(container).toMatchSnapshot()
|
expect(container).toMatchSnapshot()
|
||||||
|
|
||||||
// open modal
|
// open modal
|
||||||
const dayDisplay = getByRole('button', {name: 'June 15 -> June 20'})
|
const dayDisplay = getByRole('button', {name: 'June 15 → June 20'})
|
||||||
|
|
||||||
userEvent.click(dayDisplay)
|
userEvent.click(dayDisplay)
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ describe('components/properties/dateRange', () => {
|
|||||||
expect(container).toMatchSnapshot()
|
expect(container).toMatchSnapshot()
|
||||||
|
|
||||||
// open modal
|
// 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)
|
userEvent.click(dayDisplay)
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ describe('components/properties/dateRange', () => {
|
|||||||
expect(container).toMatchSnapshot()
|
expect(container).toMatchSnapshot()
|
||||||
|
|
||||||
// open modal
|
// open modal
|
||||||
const dayDisplay = getByRole('button', {name: 'June 15 -> June 20'})
|
const dayDisplay = getByRole('button', {name: 'June 15 → June 20'})
|
||||||
userEvent.click(dayDisplay)
|
userEvent.click(dayDisplay)
|
||||||
|
|
||||||
const fromInput = getByDisplayValue('June 15')
|
const fromInput = getByDisplayValue('June 15')
|
||||||
|
@ -134,7 +134,7 @@ function DateRange(props: Props): JSX.Element {
|
|||||||
displayValue = getDisplayDate(dateFrom)
|
displayValue = getDisplayDate(dateFrom)
|
||||||
}
|
}
|
||||||
if (dateTo) {
|
if (dateTo) {
|
||||||
displayValue += ' -> ' + getDisplayDate(dateTo)
|
displayValue += ' → ' + getDisplayDate(dateTo)
|
||||||
}
|
}
|
||||||
|
|
||||||
const onClose = () => {
|
const onClose = () => {
|
||||||
|
Reference in New Issue
Block a user