Restore matrix impl and remove $tc
This commit is contained in:
parent
c47b975723
commit
7a801f3ec3
8 changed files with 1140 additions and 696 deletions
|
|
@ -119,7 +119,7 @@ export default {
|
|||
dayForEvent(event) {
|
||||
let dayDiff = util.dayDiffToday(event.getTs());
|
||||
if (dayDiff < 7) {
|
||||
return this.$tc("message.time_ago", dayDiff);
|
||||
return this.$t("message.time_ago", dayDiff);
|
||||
} else {
|
||||
return util.formatDay(event.getTs());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue