fix date input safari ios https://twitter.com/tamtamchik/status/994846916331663362