cakephp/cakephp — pull request #2714 by markstory (2014-01-26 20:20:31+00:00)
Title: 3.0 Add datetime widget

As part of #2267 this set of changes add a datetime input widget. This widget is probably the most complex of all the widgets. @burzum started the work off in a slightly different direction than the existing code has taken which is a good thing. Each sub-input has a set of options that are localized to just that input element. This is useful because it allows each input to be customized by the user.

My current thinking is that FormHelper will provide features like `dateFormat`, `timeFormat` and other higher level options that are then parsed/split into the options Datetime supports.

### Next steps

With all the widgets done, I'm going to start on the context objects that will provide FormHelper access to request/current data and abstracted access to schema and required fields. This will allow the helper to be insulated from the ORM and make it easier to test, and integrate with other ORMs if that's what people want to do.