rails/rails — pull request #5016 by exviva (2012-02-12 12:49:22+00:00)
Title: Add HTML5 input[type="date"] helper

I'm a bit surprised that this hasn't been added together with the other new HTML input types like "tel", "email", etc. I'm suspecting this is because Rails already provides the alternative date/time select inputs, but there may be another reason (or maybe it was just plain oversight?).

I've started small, by just adding support for `input[type="date"]`, as it's the most commonly used one (judging from my experience), and the others seem a bit more tricky to implement.

And since I can see this patch being potentially rejected (otherwise someone else would've already implemented that feature :)), I didn't want to go to great length yet.