element-web/test/components/views/messages
Kerry 61e3c38b19
Add configuration to disable relative date markers in timeline (#7405)
* add disabler elative dates setting

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test existing DateSeparator

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use full date format when TimelineDisableRelativeDates is truthy

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* flip timelineDisableRelativeDates -> timelineEnableRelativeDates to fit convention

Signed-off-by: Kerry Archibald <kerrya@element.io>

* mock date constructor in test

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-21 10:08:22 +01:00
..
__snapshots__ Add configuration to disable relative date markers in timeline (#7405) 2021-12-21 10:08:22 +01:00
DateSeparator-test.tsx Add configuration to disable relative date markers in timeline (#7405) 2021-12-21 10:08:22 +01:00
MKeyVerificationConclusion-test.js Auto fix 2021-10-22 17:23:37 -05:00
MLocationBody-test.tsx Avoid NaNs in parseGeoUri return (#7396) 2021-12-17 09:50:27 +00:00
MPollBody-test.tsx Use constants from js-sdk in polls code (#7381) 2021-12-15 14:26:26 +00:00
TextualBody-test.js Fix textual message stripping new line (#7239) 2021-12-02 09:25:12 +00:00