On enlève les % pour now

This commit is contained in:
Tom Hubrecht 2021-02-06 00:17:23 +01:00
parent 7f3dbd8ec8
commit 981ace031e

View file

@ -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>