Changeset 17085 in josm


Ignore:
Timestamp:
2020-10-05T19:28:46+02:00 (4 years ago)
Author:
simon04
Message:

fix #19743, fix #19879 - Update to OpeningHoursParser 0.22.1

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ivy.xml

    r17057 r17085  
    2929        <dependency conf="api->default" org="com.adobe.xmp" name="xmpcore" rev="6.1.10"/>
    3030        <dependency conf="api->default" org="com.drewnoakes" name="metadata-extractor" rev="2.13.0" transitive="false"/>
    31         <dependency conf="api->default" org="ch.poole" name="OpeningHoursParser" rev="0.22.0"/>
     31        <dependency conf="api->default" org="ch.poole" name="OpeningHoursParser" rev="0.22.1"/>
    3232        <dependency conf="api->default" org="oauth.signpost" name="signpost-core" rev="2.0.0"/>
    3333        <dependency conf="api->default" org="org.webjars.npm" name="tag2link" rev="2020.8.3"/>
     
    4141        <dependency conf="sources->sources" org="com.adobe.xmp" name="xmpcore" rev="6.1.10"/>
    4242        <dependency conf="sources->sources" org="com.drewnoakes" name="metadata-extractor" rev="2.13.0" transitive="false"/>
    43         <dependency conf="sources->sources" org="ch.poole" name="OpeningHoursParser" rev="0.22.0"/>
     43        <dependency conf="sources->sources" org="ch.poole" name="OpeningHoursParser" rev="0.22.1"/>
    4444        <dependency conf="sources->sources" org="oauth.signpost" name="signpost-core" rev="2.0.0"/>
    4545        <dependency conf="sources->default" org="org.webjars.npm" name="tag2link" rev="2020.8.3"/><!-- sources->default sic! (tag2link-sources.jar is empty, see #19335) -->
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/OpeningHourTestTest.java

    r16805 r17085  
    7474        assertThat(checkOpeningHourSyntax(key, "09:00-21:00"), isEmpty());
    7575        assertThat(checkOpeningHourSyntax(key, "Su-Th sunset-24:00,04:00-sunrise; Fr-Sa sunset-sunrise"), isEmpty());
     76        assertThat(checkOpeningHourSyntax(key, "PH Su 10:00-12:00"), isEmpty()); // see #19743
     77        assertThat(checkOpeningHourSyntax(key, "SH Mo-Fr 09:33-15:35"), isEmpty()); // see #19743
    7678    }
    7779
Note: See TracChangeset for help on using the changeset viewer.