Purely textual polyfill for the HTML5 date input type.