Also need this for correctly setting the value back to data-date