projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1916c15
)
DateTimeOriginal : il faut désormais piocher dans xmp:CreateDate. Pff…
author
Benoît Pin
<benoit.pin@gmail.com>
Sat, 28 Jun 2014 15:26:01 +0000
(17:26 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Sat, 28 Jun 2014 15:26:01 +0000
(17:26 +0200)
photo.py
patch
|
blob
|
history
diff --git
a/photo.py
b/photo.py
index
7cb8974
..
f0a76f5
100755
(executable)
--- 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 :