Added date values to createOnEnter: function (e)