Issue #2314645 by herom, jsobiecki, Pawelgorski87, quietone, ashutoshsngh, zaporylie: Correct the type of $pattern in DateFormat
mentioned in commit cda0cbb1
mentioned in commit 961f3b7f
mentioned in commit 0ae2e031