fix multidate display

This commit is contained in:
2023-02-02 17:26:52 +10:00
parent cb8dc3cfa5
commit 7f1d0b127d

View File

@@ -122,10 +122,7 @@ const workshopDate = computed(() => {
0,
event.value.start_at.indexOf(" ")
) !=
event.value.start_at.substring(
0,
event.value.end_at.indexOf(" ")
)
event.value.end_at.substring(0, event.value.end_at.indexOf(" "))
) {
str = format(new Date(props.date), "dd/MM/yyyy");
if (event.value.end_at.length > 0) {