A template fix to show the EXIF DateTimeOriginal (as creation date). Added as a confi...
authorTryggvi Björgvinsson <tryggvib@fsfi.is>
Thu, 8 Nov 2012 00:14:17 +0000 (00:14 +0000)
committerTryggvi Björgvinsson <tryggvib@fsfi.is>
Thu, 8 Nov 2012 00:14:17 +0000 (00:14 +0000)
commit24d310e46fc237eccfc7859ae273ddaaf04e2fbc
tree4b782054a1e663a67029f511639c8ff706e0dfd5
parent52aef5b445710dbe800ebba7f44ca0cc0e06ea54
A template fix to show the EXIF DateTimeOriginal (as creation date). Added as a configurable option 'original_date_visible' (default false). Since the EXIF tag is a string with the date formatted as 'YYYY:MM:DD HH:MM:SS' the fix slices the string to give only the date and then replaces : by - to conform with the 'Added on' date.
mediagoblin/config_spec.ini
mediagoblin/templates/mediagoblin/user_pages/media.html