Added option to change format in options when DateTime is build via Factory
Added option to change format in options when DateTime is build via Factory
Merge branch 'feature/datetime_factory_format' of github.com:pdobrigkeit/zf2 into feature/datetime_factory_format
Fixed usage of Traverseable for $options.
Did not want to duplicate the check done in Element, but rather used to already converted $this->options instead
Added Test
Fixed comment return val
Merge pull request #3437 from pdobrigkeit/feature/datetime_factory_format

Feature/datetime factory format
[#3376] Better fix

- The main point is that we ensure hasItems() internally calls
  internalHasItem(). As such, removing the multiple keys ensures we
  don't have issues with index order of mock objects. Test now passes on
  both 3.7.12 and 3.7.13, on all PHP versions used.
Merge branch 'hotfix/3376'

Backport #3436 to master
Merge remote-tracking branch 'upstream/master'