- Timestamp:
- 2020-02-05T19:53:04+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
r15640 r15815 57 57 ENGINE.eval("var console={};console.debug=print;console.log=print;console.warn=print;console.error=print;"); 58 58 ENGINE.eval(reader); 59 ENGINE.eval("var opening_hours = require('opening_hours');");60 59 // fake country/state to not get errors on holidays 61 ENGINE.eval("var nominatimJSON = {address: { state: 'Bayern', country_code: 'de'}};");60 ENGINE.eval("var nominatimJSON = {address: {country_code: 'xa'}};"); 62 61 ENGINE.eval( 63 62 "var oh = function (value, tag_key, mode, locale) {" + 64 63 " try {" + 65 " var conf = {tag_key: tag_key, locale: locale };" +64 " var conf = {tag_key: tag_key, locale: locale, additional_rule_separator: false};" + 66 65 " if (mode > -1) {" + 67 66 " conf.mode = mode;" +
Note:
See TracChangeset
for help on using the changeset viewer.