fixed date formatting to not use leading zeros