X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/b4892f9af387a40573b75c477365342de9a7ebc8..20d32cad15428a0a8d893a8e248d925b004df2c8:/photo.py?ds=sidebyside diff --git a/photo.py b/photo.py index 7cb8974..f0a76f5 100755 --- a/photo.py +++ b/photo.py @@ -153,7 +153,7 @@ class Photo(DynamicType, CMFCatalogAware, BasePhoto, DefaultDublinCoreImpl) : @memoizedmethod() def DateTimeOriginal(self) : """ return DateTimeOriginal exif tag value or created """ - dto = self.getXmpValue('exif:DateTimeOriginal') + dto = self.getXmpValue('exif:DateTimeOriginal') or self.getXmpValue('xmp:CreateDate') if dto : return DateTime(dto) else :