Ad

I Want To Use Persian Calendar, What Should I Change?

In this section, I want to use the Persian calendar, This form is for a component. What should I change? What should I write to show me this component of the Persian calendar?

<div class="form-group ">
    <label for="date">date</label>
    <input id="date" name="date" class="form-control datepicker" type="text" value="{{ post.date }}"/>
</div>

enter image description here

Ad

Answer

Use a Persian datepicker like the given link: https://behzadi.github.io/persianDatepicker/

Ad
source: stackoverflow.com
Ad