Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Rules/MissingWeekdays
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
= Possible missing weekdays = This rule checks for possible missing weekdays in the [osmwiki:Key:opening_hours]. Note that openening hours without weekdays can be correct, so be careful when editing the osm data. See also ticket:14026. {{{ #!rule meta { title: "Possible missing weekdays"; version: "1.[[revision]]_[[date]]"; description: "Checks for possible missing weekdays in the opening_hours key. Note that opening hours without weekdays can be correct, so be careful when editing the osm data."; author: "Klumbumbus"; link: "http://josm.openstreetmap.de/wiki/Rules/MissingWeekdays"; /* icon: ""; */ min-josm-version: "6455"; /* due to !~ */ } meta[lang=de] { title: "Mögliche fehlende Wochentage"; description: "Prüft, auf möglicherweise fehlende Wochentage im opening_hours Schlüssel. Bedenke, dass Öffnungszeiten ohne Wochentage korrekt sein können, sei also vorsichtig beim Bearbeiten der OSM-Daten."; } *[opening_hours][opening_hours =~ /[0-2][0-9]:[0-5][0-9]/][opening_hours !~ /Mo|Tu|We|Th|Fr|Sa|Su/] { throwOther: tr("possible missing weekdays in opening hours"); assertMatch: "node opening_hours=09:00-18:00"; assertNoMatch: "node opening_hours=Mo-Fr 09:00-18:00"; } }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.