fixed printing of out of range dates