bug displaying date editing