Skip to content

Commit

Permalink
Don't try to force opening-hours value lookups to lowercase
Browse files Browse the repository at this point in the history
(closes #3629)
  • Loading branch information
bhousel committed Mar 21, 2017
1 parent 1ecb456 commit e1a9e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/taginfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default {
// A few OSM keys expect values to contain uppercase values (see #3377).
// This is not an exhaustive list (e.g. `name` also has uppercase values)
// but these are the fields where taginfo value lookup is most useful.
var re = /network|taxon|genus|species|brand|grape_variety/;
var re = /network|taxon|genus|species|brand|grape_variety|_hours|_times/;
var allowUpperCase = (parameters.key.match(re) !== null);
var f = filterValues(allowUpperCase);
callback(null, d.data.filter(f).map(valKeyDescription));
Expand Down

0 comments on commit e1a9e7e

Please sign in to comment.