Changeset 15815 in josm for trunk/src


Ignore:
Timestamp:
2020-02-05T19:53:04+01:00 (5 years ago)
Author:
simon04
Message:

fix #18577 - Update opening_hours.js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java

    r15640 r15815  
    5757                ENGINE.eval("var console={};console.debug=print;console.log=print;console.warn=print;console.error=print;");
    5858                ENGINE.eval(reader);
    59                 ENGINE.eval("var opening_hours = require('opening_hours');");
    6059                // 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'}};");
    6261                ENGINE.eval(
    6362                        "var oh = function (value, tag_key, mode, locale) {" +
    6463                        " try {" +
    65                         "    var conf = {tag_key: tag_key, locale: locale};" +
     64                        "    var conf = {tag_key: tag_key, locale: locale, additional_rule_separator: false};" +
    6665                        "    if (mode > -1) {" +
    6766                        "      conf.mode = mode;" +
Note: See TracChangeset for help on using the changeset viewer.