On enlève les % pour now
This commit is contained in:
parent
7f3dbd8ec8
commit
981ace031e
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@
|
||||||
const elem = document.querySelector('input[name="birth_date"]');
|
const elem = document.querySelector('input[name="birth_date"]');
|
||||||
const datepicker = new Datepicker(elem, {
|
const datepicker = new Datepicker(elem, {
|
||||||
format: "yyyy-mm-dd",
|
format: "yyyy-mm-dd",
|
||||||
defaultViewDate: "{% now '%Y-%m-%d' %}",
|
defaultViewDate: "{% now 'Y-m-d' %}",
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue