Not relevant to this PR but on line 98 of this file `acceptanceDateString` is defined a second time.