Ticket #21771: 21771.patch

File 21771.patch, 1.3 KB (added by taylor.smock, 4 years ago)
  • build.xml

     
    33    <!-- enter the SVN commit message -->
    44    <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="15502"/>
     6    <property name="plugin.main.version" value="17749"/>
    77
    88    <!-- Configure these properties (replace "..." accordingly).
    99         See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
  • src/org/openstreetmap/josm/plugins/commandline/OsmToCmd.java

     
    329329
    330330            String time = atts.getValue("timestamp");
    331331            if (time != null && time.length() != 0) {
    332                 current.setTimestamp(DateUtils.fromString(time));
     332                current.setInstant(DateUtils.parseInstant(time));
    333333            }
    334334
    335335            String user = atts.getValue("user");