<a>https://ibb.co/LxsbJgX</a>
I dont know why the year is not showing. please help. Here's my code
<script>
$("#date").flatpickr({
altInput: true,
altFormat: "j F Y",
});
</script>
Hi Sarah,
One possible reason could be that the "dateFormat" option is not set to include the year.
Try modifying your code as follows:
<script>
$("#date").flatpickr({
altInput: true,
altFormat: "j F Y",
dateFormat: "Y-m-d",
});
</script>
Hi Sarah,
Could you please check the console log if there is any error?
Thanks