Do not throw IndexOutOfBounds when AM/PM designator is empty (#15904)
authorKrzysztof Wicher <mordotymoja@gmail.com>
Fri, 19 Jan 2018 00:58:15 +0000 (16:58 -0800)
committerGitHub <noreply@github.com>
Fri, 19 Jan 2018 00:58:15 +0000 (16:58 -0800)
commit734a8d7612237b4fab066957318345b5b7b157fe
tree4a38e10745fe33ca34fe7449c0fee0aad6c5cac1
parentd44f3e883a803b2d1fe4fb2c07f92d78bff56eed
Do not throw IndexOutOfBounds when AM/PM designator is empty (#15904)

* do not throw IndexOutOfBounds when AM/PM designator is empty

* store am/pm designator in local
src/mscorlib/shared/System/Globalization/DateTimeParse.cs