Index: build.xml
===================================================================
--- build.xml	(revision 35895)
+++ build.xml	(working copy)
@@ -3,7 +3,7 @@
     <!-- enter the SVN commit message -->
     <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="15502"/>
+    <property name="plugin.main.version" value="17749"/>
 
     <!-- Configure these properties (replace "..." accordingly).
          See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
Index: src/org/openstreetmap/josm/plugins/commandline/OsmToCmd.java
===================================================================
--- src/org/openstreetmap/josm/plugins/commandline/OsmToCmd.java	(revision 35895)
+++ src/org/openstreetmap/josm/plugins/commandline/OsmToCmd.java	(working copy)
@@ -329,7 +329,7 @@
 
             String time = atts.getValue("timestamp");
             if (time != null && time.length() != 0) {
-                current.setTimestamp(DateUtils.fromString(time));
+                current.setInstant(DateUtils.parseInstant(time));
             }
 
             String user = atts.getValue("user");
