added field date check

now you can use <input type="date" />