fix: date string

This commit is contained in:
Torsten Dittmann
2023-11-27 15:04:39 +01:00
parent c2e08f2011
commit 29b080975e
@@ -24,7 +24,7 @@
}
const cycles = data.invoices.invoices.map((invoice) => ({
label: invoice.from,
label: (new Date(invoice.from)).toLocaleDateString(),
value: invoice.$id
}));
</script>