Fix frontend test: no need to convert to UTC (#266)

This commit is contained in:
Félix Malfait
2023-06-12 13:33:58 +02:00
committed by GitHub
parent 05d22c1b06
commit c99fa74e2f

View File

@ -18,7 +18,6 @@ describe('beautifyExactDate', () => {
const mockDate = '2023-01-01T12:13:24';
const actualDate = new Date(mockDate);
const expected = DateTime.fromJSDate(actualDate)
.toUTC()
.setLocale(DEFAULT_DATE_LOCALE)
.toFormat('DD · TT');