Support non html5 text date as well