fixed date problem in DetailViewTest