Changeset 19873 in osm
- Timestamp:
- 2010-02-04T22:47:00+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/photo_geotagging
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photo_geotagging/build.xml
r19845 r19873 25 25 26 26 <!-- enter the SVN commit message --> 27 <property name="commit.message" value=" josm plugin photo_geotagging: added mtime handling and GPSTimeStamp writing" />27 <property name="commit.message" value="fixed: month is off by 1; delete temporary test file" /> 28 28 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 29 29 <property name="plugin.main.version" value="2931" /> -
applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/ExifGPSTagger.java
r19845 r19873 75 75 76 76 final int year = calendar.get(Calendar.YEAR); 77 final int month = calendar.get(Calendar.MONTH) ;77 final int month = calendar.get(Calendar.MONTH) + 1; 78 78 final int day = calendar.get(Calendar.DAY_OF_MONTH); 79 79 final int hour = calendar.get(Calendar.HOUR_OF_DAY); -
applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/GeotaggingAction.java
r19845 r19873 293 293 if (!fileTest.setLastModified(mTimeTest)) 294 294 throw new IOException(tr("Test failed: Could not write mtime.")); 295 if (!fileTest.delete()) 296 throw new IOException(tr("Could not delete temporary file!")); 297 295 298 testMTimeReadAndWriteDone = true; 296 299 }
Note:
See TracChangeset
for help on using the changeset viewer.