change date format on contract page