Fix prepending of 0s for single-digit dates