date refactor, day digit padding bug