Convert to timestamp before sanitizing with a callback. Otherwise if a callback is set, convertion will never happen, resulting in a malformed value
Merge pull request #35 from rinatkhaziev/master

Make sure we convert datepicker to timestamp before calling callback to sanitize