bear / parsedatetime

Parse human-readable date/time strings
Apache License 2.0
695 stars 106 forks source link

Fix to sanitize abbreviated months from icu #222

Closed bpotard closed 4 years ago

bpotard commented 7 years ago

This is my proposed patch for #221.

Sanitation of day / month names is required as ICU includes periods in many abbreviations that render them unmatchable. This patch mostly contain a sanitation function intended to remove "." (periods) at the end of a string, or before a "|" separator.


This change is Reviewable