Skip to content

Commit

Permalink
Add ReleaseDate input
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasevano committed Sep 22, 2020
1 parent b40f881 commit 52b87df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
inputId="releaseYear"
v-model="sneakerReleaseYear"
/>
<!-- <Input
<Input
inputType="date"
inputName="Date de sortie"
inputId="releaseDate"
v-model="sneakerReleaseDate"
/>-->
/>
<button @click.prevent="searchSneaker" class="button">Rechercher</button>
</form>
</section>
Expand Down Expand Up @@ -88,7 +88,7 @@ export default {
releaseYear: this.sneakerReleaseYear,
}),
...(this.sneakerReleaseDate && {
releaseDate: this.sneakerReleaseDate,
releaseDate: this.sneakerReleaseDate + ' 23:59:59',
}),
})
)
Expand Down

0 comments on commit 52b87df

Please sign in to comment.