element-web/res/css/views
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
..
audio_messages Fix blowout of waveform of the voice message player on narror UI 2023-02-20 23:55:59 +09:00
auth Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
avatars Fix flaky Percy tests of ReplyChain (#10450) 2023-03-27 12:13:25 +00:00
beta Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
context_menus Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
dialogs Polish & delabs Exploring public spaces feature (#11423) 2023-08-21 09:39:20 +00:00
directory Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
elements Allow managing room knocks (#11404) 2023-08-16 08:16:19 +00:00
emojipicker Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
location Apply prettier formatting 2022-12-12 12:24:14 +01:00
messages Use Intl to localise dates and times (#11422) 2023-08-21 19:38:59 +00:00
polls/pollHistory Poll history - make poll history independent from dialogs (#10349) 2023-03-12 20:22:30 +00:00
right_panel Adjust typography in key part of the app (#11313) 2023-08-01 10:31:21 +00:00
room_settings Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
rooms Create flexbox layout helper (#11411) 2023-08-15 17:43:39 +00:00
settings Fix Room Settings > Notifications file upload input being shown superfluously (#11415) 2023-08-16 10:55:21 +00:00
spaces Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
terms Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
toasts Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
verification Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
voip Compound color pass (#11079) 2023-07-12 17:46:49 +00:00