zendframework/zf2 — pull request #1588 by cgmartin (2012-06-25 02:28:18+00:00)
Title: [Form] Date/Time elements, view helpers and DateStep Validator

Good place to start a review of this PR is with: Zend/Form/Element/DateTime.php
The other elements are extremely similar and extend from DateTime. They reconfigure the validator settings for their specific use-case.

The other juicy bit is Zend/Validate/DateStep.php.
I had heard mention that we were moving away from Zend_Date and to PHP5's DateTime objects, so I chose DateTime as the utility for validation. This file could use a thorough review by someone who has an idea of what the roadmap is for Zend_Date/Zend_Locale refactoring.

HTML5 Spec for the Date/Time elements:
http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#date-and-time-state-(type=datetime)