element-web-Github/test/components/views/rooms/__snapshots__
Michael Telatynski 3c52ba0c92
Use Intl to localise dates and times (#11422)
* Use Intl to generate better internationalised date formats

* Get `Yesterday` and `Today` from Intl also

* Correct capitalisation blunder

* Fix formatTime include weekday

* Iterate

* Fix tests

* use jest setSystemTime

* Discard changes to cypress/e2e/settings/general-user-settings-tab.spec.ts

* Discard changes to res/css/_components.pcss

* Discard changes to res/css/views/elements/_LanguageDropdown.pcss

* Discard changes to src/components/views/elements/LanguageDropdown.tsx

* Add docs & tests for getDaysArray & getMonthsArray

* Discard changes to test/components/structures/__snapshots__/MatrixChat-test.tsx.snap

* Consolidate consts

* Improve testing & documentation

* Update snapshot

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Iterate

* Clarify comments

* Update src/DateUtils.ts

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Specify hourCycle

* Discard changes to test/components/views/settings/devices/DeviceDetails-test.tsx

* Update comments

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-08-21 19:38:59 +00:00
..
ExtraTile-test.tsx.snap Refactor ExtraTile to use functional components (#10191) 2023-02-23 11:57:37 +00:00
PinnedEventTile-test.tsx.snap Use Intl to localise dates and times (#11422) 2023-08-21 19:38:59 +00:00
RoomPreviewBar-test.tsx.snap Allow knocking rooms (#11353) 2023-08-07 06:27:09 +00:00
RoomTile-test.tsx.snap Include thread replies in message previews (#10631) 2023-06-01 07:53:48 +00:00
ThirdPartyMemberInfo-test.tsx.snap Simplify nodes on ThirdPartyMemberInfo (#10889) 2023-05-24 08:28:15 +00:00