fix timeline 1st and 31th days error