Fixed date formatting bug

Day wasn't getting padded with leading zero