You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow whitespaces after parsed content in DateFormatter.date(from:)
Apple implementation checks for unparsed content in source string.
Any non-whitespace leftover characters are considered as failure.
On the other hand, whitespaces are permitted and should not affect the result.
The check was partially implemented in #1822 (SR-9322).
This patch alters verification logic to be closer to Apple implementation.
0 commit comments