mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
add end datetime to events
This commit is contained in:
parent
5f520c3485
commit
a6f1a96a36
1 changed files with 2 additions and 2 deletions
|
@ -95,10 +95,10 @@ export default ({ app, store }) => {
|
|||
|
||||
// multidate
|
||||
if (event.multidate) {
|
||||
return `${start.format('ddd, D MMM HH:mm')} - ${end.format('ddd, D MMM')}`
|
||||
return `${start.format('ddd, D MMM HH:mm')} - ${end.format('ddd, D MMM HH:mm')}`
|
||||
}
|
||||
|
||||
// normal event
|
||||
return start.format('ddd, D MMMM HH:mm')
|
||||
return `${start.format('ddd, D MMM HH:mm')} - ${end.format('HH:mm')}`
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue