fix formatDate helper when returning day 3 & 23