Skip to content

Commit

Permalink
Fix a couple of doc issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Apr 6, 2017
1 parent 1c4927e commit 6cad425
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a very simplistic parser for string values according to the [OSM opening hours specification][opening-hours-specification].

It parses 144'477 (90%) of 161'268 unique test strings in non-strict mode. The remaining 16'127 are likely valid errors, spot checking shows that they have obvious issues. In strict mode further 20'417 fail (total 36'544).
It parses 145'141 (90%) of 161'268 unique test strings in non-strict mode. The remaining 16'127 are likely valid errors, spot checking shows that they have obvious issues. In strict mode further 20'417 fail (total 36'544).

Deviations from the grammar as of [this version of the opening hours specification][opening-hours-grammar-specification] in all modes:

Expand All @@ -19,8 +19,6 @@ In non-strict mode the following further differences are allowed:
* AM and PM time specifications are allowed
* holidays following weekdays
* 24/7 rules with preceding selectors are corrected to 00:00-24:00 time spans

The most common error that currently will cause an OH string not to be parsed is the use of "." instead of ":" in time specifications.

Converting the data structures generated by parsing back to strings will result in correct data according to the specification.

Expand Down

0 comments on commit 6cad425

Please sign in to comment.