Ignore:
Timestamp:
2017-01-19T23:34:17+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #14209 - prefer TAG_DATETIME_ORIGINAL (patch by holgermappt, regression from r9499) + add non-regression unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ExifReader.java

    r11288 r11484  
    5656                    if (tag.getTagType() == ExifIFD0Directory.TAG_DATETIME /* 0x0132 */ ||
    5757                        tag.getTagType() == ExifSubIFDDirectory.TAG_DATETIME_DIGITIZED /* 0x9004 */) {
    58                         if (dateStr != null) {
     58                        if (dateStr == null) {
    5959                            // prefer TAG_DATETIME_ORIGINAL
    6060                            dateStr = tag.getDescription();
Note: See TracChangeset for help on using the changeset viewer.