Commit graph

16 commits

Author SHA1 Message Date
Kerry
14653d1378
Live location share - set time limit (#8082)
* add mocking helpers for platform peg

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

* basic working live duration dropdown

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

* add duration format utility

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

* add duration dropdown to live location picker

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

* adjust style to allow overflow and variable height chin

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

* tidy comments

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

* arrow fn change

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

* lint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-21 12:42:58 +01:00
Germain
2a20d9a7df
Display relative time in thread panel event tile (#7068)
* Null-guard for missing root event in thread panel

* Add formatRelativeTime date utility

* Display relative time format in thread panel event tiles
2021-11-03 10:16:50 +00:00
Jaiwanth
94e4fb71c1 Merge branch 'develop' into export-conversations 2021-09-22 18:07:01 +05:30
Šimon Brandner
342f51ccb0
Add formatSeconds()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:19:59 +02:00
Jaiwanth
036d8a15c6 Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into export-conversations 2021-08-09 10:36:43 +05:30
Šimon Brandner
43325eb866
date -> delta
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 14:24:14 +02:00
Šimon Brandner
5a284b62eb
Add formatCallTime
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 13:57:27 +02:00
Jaiwanth
9204ed30ce Switch to localeDateString for i18n 2021-06-09 16:40:52 +05:30
Jaiwanth
716e2effbc Enable proper i18n for date utils 2021-06-09 16:12:57 +05:30
Jaiwanth
183166c460 Unminify CSS and apply suggestions from the design team 2021-06-03 12:40:00 +05:30
Jaiwanth
692e499cf2 Handle encrypted stickers and store stickers in a separate folder 2021-06-02 12:06:00 +05:30
Jaiwanth
c63c59b408 Rename date function 2021-06-01 21:52:04 +05:30
Jaiwanth
395b6ba4b5 Small refactor 2021-06-01 12:44:05 +05:30
Jaiwanth
80c0ad82fc Better file names 2021-06-01 12:40:03 +05:30
Šimon Brandner
80854ab6bb
Don't show seconds in ImageView
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:25:21 +02:00
Michael Telatynski
5a2eda260d Convert DateUtils to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:39:58 +01:00
Renamed from src/DateUtils.js (Browse further)