fix firefox rendering and show format in date input