changed date format for history page