Is It Possible To Overload The HTMLInputElement To Provide It Different Locale?
for the displayed date uses the locale of the user's browser. I would like to force it use the locale that I choose. Is it possible to achieve that by ove
Solution 1:
As per This page
document.getElementById('meeting-time').timezone=document.getElementById('timezone').value;
<label for="meeting-time">Choose a time for your appointment:</label>
<input type="hidden" id="timezone" name="timezone" value="-08:00">
<input type="datetime-local" id="meeting-time"
name="meeting-time" value="2018-06-12T19:30"
min="2018-06-07T00:00" max="2018-06-14T00:00">
Post a Comment for "Is It Possible To Overload The HTMLInputElement To Provide It Different Locale?"