Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Although the regex checks deny any date past the year 2999, the convert2date function check still allowed any year except 9999. As there's no logical reason to expect any years >=3000 in OSM, mark them as bad too. (Reason: in the Dutch community we spotted some very strange years in the `start_date` tag of buildings) 2. Add some extra safety for the "~", "s" and " BC" year checks. If the string consists only of those characters it should be treated as an invalid date. (The check function returns True on empty strings due to the handling of e.g. `1920..`, so a string `~` would return True after stripping the `~`)
- Loading branch information