fix data-date attribute format and parsing