-
- {{ start_day }}
- {{
- start_month
- }}
-
+
{{ event.summary }}
@@ -29,20 +24,17 @@
import { Component, Prop, Vue } from "vue-property-decorator";
import { DateTime } from "luxon";
import Event from "./event";
+import EventDate from "./EventDate.vue";
-@Component
+@Component({
+ components: {
+ EventDate,
+ },
+})
export default class EventItem extends Vue {
@Prop()
private readonly event!: Event;
- private get start_day(): string {
- return this.event.start.toFormat("dd.");
- }
-
- private get start_month(): string {
- return this.event.start.toFormat("MM.");
- }
-
private get data_string(): string {
const locale_string = this.event.start
.setLocale(navigator.language)