Remove useless parts for date change