add padding for nonexisting dates