riot-web/res/css/views/messages
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
..
_CallEvent.pcss
_CreateEvent.pcss
_DateSeparator.pcss Use Intl to localise dates and times (#11422) 2023-08-21 19:38:59 +00:00
_DecryptionFailureBody.pcss
_DisambiguatedProfile.pcss Fix bubble message layout avatar overlap (#11284) 2023-07-18 08:36:01 +00:00
_EventTileBubble.pcss
_HiddenBody.pcss
_JumpToDatePicker.pcss
_LegacyCallEvent.pcss Fix voice call tile size (#11285) 2023-07-18 08:35:53 +00:00
_MEmoteBody.pcss
_MFileBody.pcss
_MImageBody.pcss
_MImageReplyBody.pcss
_MJitsiWidgetEvent.pcss
_MLocationBody.pcss
_MNoticeBody.pcss Fix colour regressions (#11273) 2023-07-17 09:59:10 +00:00
_MPollBody.pcss
_MPollEndBody.pcss
_MStickerBody.pcss
_MTextBody.pcss
_MVideoBody.pcss
_MediaBody.pcss Fix colour regressions (#11273) 2023-07-17 09:59:10 +00:00
_MessageActionBar.pcss
_MessageTimestamp.pcss
_MjolnirBody.pcss
_ReactionsRow.pcss
_ReactionsRowButton.pcss Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
_RedactedBody.pcss Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
_RoomAvatarEvent.pcss Fix event info events size and color (#11252) 2023-07-13 09:35:08 +00:00
_TextualEvent.pcss Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
_UnknownBody.pcss
_ViewSourceEvent.pcss
_common_CryptoEvent.pcss