<input type="datetime-local" /> pattern
As 'datetime-local' input doesn't have a [pattern] attribute, you can check its value with this RegExp.
Does not check if the given day corresponds to its month .
Ex : 2019-02-30 will be considered as correct
Submitted by Ann MB - 3 years ago (Last modified 3 years ago)