Skip to content

Commit 3025d4f

Browse files
authored
Merge pull request #10564 from Dimitar5555/patch-4
Preserve 'opening_hours' when matching with NSI
2 parents b5d45e3 + b3579d6 commit 3025d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/services/nsi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ function _upgradeTags(tags, loc) {
581581

582582
// These tags can be toplevel tags -or- attributes - so we generally want to preserve existing values - #8615
583583
// We'll only _replace_ the tag value if this tag is the toplevel/defining tag for the matched item (`k`)
584-
['building', 'emergency', 'internet_access', 'takeaway'].forEach(osmkey => {
584+
['building', 'emergency', 'internet_access', 'opening_hours', 'takeaway'].forEach(osmkey => {
585585
if (k !== osmkey) preserveTags.push(`^${osmkey}$`);
586586
});
587587

0 commit comments

Comments
 (0)