Fixed bug for dates under 10.