Changeset 7276


Ignore:
Timestamp:
Oct 19, 2010, 10:49:31 AM (10 years ago)
Author:
plg
Message:

bug 1934 fixed: improve display for weird raw values from Nikon cameras on ExposureTime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/exif_view/main.inc.php

    r6989 r7276  
    113113         return $tokens[0].' s';
    114114      } else {
    115          return $tokens[0].'/'.$tokens[1].' s';
     115        return '1/'.floor(1/($tokens[0]/$tokens[1])).' s';
     116         // return $tokens[0].'/'.$tokens[1].' s';
    116117      }
    117118   }
Note: See TracChangeset for help on using the changeset viewer.