Index: applications/editors/josm/plugins/undelete/build.xml
===================================================================
--- applications/editors/josm/plugins/undelete/build.xml	(revision 35847)
+++ applications/editors/josm/plugins/undelete/build.xml	(revision 35848)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="adapt to core changes (backwards compatible)"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="16205"/>
+    <property name="plugin.main.version" value="17838"/>
 
     <property name="plugin.author" value="Nakor"/>
Index: applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java
===================================================================
--- applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java	(revision 35847)
+++ applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java	(revision 35848)
@@ -187,5 +187,5 @@
                             if (hPrimitive2 != null) {
                                 primitive.setChangesetId((int) hPrimitive1.getChangesetId());
-                                primitive.setTimestamp(hPrimitive1.getTimestamp());
+                                primitive.setInstant(hPrimitive1.getInstant());
                                 primitive.setUser(hPrimitive1.getUser());
                                 primitive.setVisible(hPrimitive1.isVisible());
