minor on time format

This commit is contained in:
lesion 2022-07-23 23:03:17 +02:00
parent 732f76600a
commit d1dd315e79
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -96,10 +96,10 @@ export default ({ app, store }) => {
// multidate
if (event.multidate) {
return `${start.format('ddd, D MMM HH:mm')} - ${end.format('ddd, D MMM HH:mm')}`
return `${start.format('ddd, D MMM, HH:mm')} - ${end.format('ddd, D MMM, HH:mm')}`
}
// normal event
return `${start.format('dddd, D MMMM HH:mm')} - ${end.format('HH:mm')}`
return `${start.format('dddd, D MMMM, HH:mm')}-${end.format('HH:mm')}`
})
}