changeset 207:08965faaa4ff

text_x_arnica.get_exif_info: only date from exif without an additional sign
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 21 Jul 2008 20:40:44 +0200
parents 97019e1098a2
children 71fba6d8d138
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Mon Jul 21 20:35:03 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Mon Jul 21 20:40:44 2008 +0200
@@ -247,6 +247,7 @@
                     if ExifTags.TAGS.get(key) == 'DateTimeOriginal':
                         date = str(value)
                         date = date.replace(':', '-', 2)
+                        date = date[0:19]
                         cache.put(self.request, date_key, date, filename=file_name, content_type='text/plain')
                         break
         return date