- Timestamp:
- 2015-04-21T09:44:58+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ExifReader.java
r8243 r8244 47 47 for (Directory dirIt : metadata.getDirectories()) { 48 48 for (Tag tag : dirIt.getTags()) { 49 if (tag.getTagType() == ExifSubIFDDirectory.TAG_DATETIME_ORIGINAL /* 0x9003 */) { 49 if (tag.getTagType() == ExifSubIFDDirectory.TAG_DATETIME_ORIGINAL /* 0x9003 */ && 50 !tag.getDescription().matches("\\[[0-9]+ .+\\]")) { 50 51 dateStr = tag.getDescription(); 51 break OUTER; // prefer this tag 52 break OUTER; // prefer this tag if known 52 53 } 53 54 if (tag.getTagType() == ExifIFD0Directory.TAG_DATETIME /* 0x0132 */ ||
Note:
See TracChangeset
for help on using the changeset viewer.