mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Fix merge fail
This commit is contained in:
parent
c22978d033
commit
40680d55e0
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ function twelveHourTime(date) {
|
|||
module.exports = {
|
||||
formatDate: function(date) {
|
||||
var now = new Date();
|
||||
const days = getDaysArray();
|
||||
const months = getMonthsArray();
|
||||
if (date.toDateString() === now.toDateString()) {
|
||||
return this.formatTime(date);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue