fix formatting
This commit is contained in:
@@ -124,12 +124,13 @@ const workshopDate = computed(() => {
|
|||||||
) !=
|
) !=
|
||||||
event.value.end_at.substring(0, event.value.end_at.indexOf(" "))
|
event.value.end_at.substring(0, event.value.end_at.indexOf(" "))
|
||||||
) {
|
) {
|
||||||
str = format(new Date(event.value.start_at), "dd/MM/yyyy");
|
str = [format(new Date(event.value.start_at), "dd/MM/yyyy")];
|
||||||
if (event.value.end_at.length > 0) {
|
if (event.value.end_at.length > 0) {
|
||||||
str =
|
str = [
|
||||||
str +
|
str,
|
||||||
" - " +
|
" - ",
|
||||||
format(new Date(event.value.end_at), "dd/MM/yyyy");
|
format(new Date(event.value.end_at), "dd/MM/yyyy"),
|
||||||
|
];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
str = [
|
str = [
|
||||||
|
|||||||
Reference in New Issue
Block a user