diff --git a/src/components/AgendaView.vue b/src/components/AgendaView.vue index bd68f7e..9aeaa5a 100644 --- a/src/components/AgendaView.vue +++ b/src/components/AgendaView.vue @@ -9,12 +9,16 @@
- 1D - 3D - 1W - 2W - 3W - 1M + + {{ span.toUpperCase() }} +
@@ -35,7 +39,7 @@ {{ entity.properties?.label || 'Untitled' }} - {{ entity.properties?.timeless ? 'All day' : `${entity.properties?.startsOn ? formatTime(new Date(entity.properties.startsOn)) : ''} - ${entity.properties?.endsOn ? formatTime(new Date(entity.properties.endsOn)) : ''}` }} + {{ getEventProperties(entity).timeless ? 'All day' : `${formatEventDateTime(getEventProperties(entity).startsOn)} - ${formatEventDateTime(getEventProperties(entity).endsOn)}` }} @@ -45,23 +49,29 @@