mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Fix merge fail
This commit is contained in:
parent
c22978d033
commit
40680d55e0
@ -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 New Issue
Block a user