hapijs/joi — pull request #505 by fampinheiro (2014-12-01 10:47:09+00:00)
Title: Convert date regex to date before comparison. Closes #503.

The required() does a clone of the original object.
Because of date the format comparison doesn't return true and a moment object is created using the date format.