mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
strip datetime down to date in message
This commit is contained in:
parent
2d3483dc1b
commit
775a3ddb72
@ -210,6 +210,7 @@ export default {
|
||||
|
||||
const msgs = []
|
||||
;[...this.messages, ...Message].forEach((m) => {
|
||||
m.date = new Date(m.date).toDateString()
|
||||
msgs[m.indexId] = m
|
||||
})
|
||||
this.messages = msgs.filter(Boolean)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user