develop #10

Merged
pablone merged 64 commits from develop into master 2024-04-22 11:35:55 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 6c8cb7c3aa - Show all commits
src/components/@inputs

View File

@ -43,8 +43,8 @@ export default defineComponent({
} = await apiBack.get(`/delivery/dates`, {
params: { postalCode: postalCodeInput.value },
});
const dates = data.map(({ dated }) => {
const getDate = new Date(dated);
const dates = data.map(({ nextDay }) => {
const getDate = new Date(nextDay);
const day = getDate.getDate().toString().padStart(2, "0");
const month = (getDate.getMonth() + 1).toString().padStart(2, "0");
const year = getDate.getFullYear();