Added the %D format for dateFormat()