is there any way to simply change the <input type="date">
output, from Gregorian to Persian Date?
something like this:
var localToday = new Date().toLocaleDateString('fa-IR');
console.log(localToday);
<input type="date">
is there any way to simply change the <input type="date">
output, from Gregorian to Persian Date?
something like this:
var localToday = new Date().toLocaleDateString('fa-IR');
console.log(localToday);
<input type="date">
Reading the HTML documentation, I don't think there is a way to show another calendar in the input field.