Index: applications/editors/josm/plugins/photo_geotagging/build.xml
===================================================================
--- applications/editors/josm/plugins/photo_geotagging/build.xml	(revision 19872)
+++ applications/editors/josm/plugins/photo_geotagging/build.xml	(revision 19873)
@@ -25,5 +25,5 @@
 
 	<!-- enter the SVN commit message -->
-	<property name="commit.message" value="josm plugin photo_geotagging: added mtime handling and GPSTimeStamp writing" />
+	<property name="commit.message" value="fixed: month is off by 1; delete temporary test file" />
 	<!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
 	<property name="plugin.main.version" value="2931" />
Index: applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/ExifGPSTagger.java
===================================================================
--- applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/ExifGPSTagger.java	(revision 19872)
+++ applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/ExifGPSTagger.java	(revision 19873)
@@ -75,5 +75,5 @@
 
             final int year =   calendar.get(Calendar.YEAR);
-            final int month =  calendar.get(Calendar.MONTH);
+            final int month =  calendar.get(Calendar.MONTH) + 1;
             final int day =    calendar.get(Calendar.DAY_OF_MONTH);
             final int hour =   calendar.get(Calendar.HOUR_OF_DAY);
Index: applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java
===================================================================
--- applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java	(revision 19872)
+++ applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java	(revision 19873)
@@ -293,4 +293,7 @@
             if (!fileTest.setLastModified(mTimeTest))
                 throw new IOException(tr("Test failed: Could not write mtime."));
+            if (!fileTest.delete())
+                throw new IOException(tr("Could not delete temporary file!"));
+
             testMTimeReadAndWriteDone = true;
         }
