Closed (fixed)
Project:
Exif
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
14 Nov 2011 at 18:52 UTC
Updated:
12 Apr 2013 at 08:20 UTC
I am able to import the date a photo was taken from exif to a date field using this module and it works great. However if I go to "/admin/config/regional/date-time" and click on Save Configuration I am no longer able to import the date the photo was taken, the date field is instead populated by the current date and time.
I have tested this several times on different installs and every time I have received the same results. Can anyone duplicate this?
Comments
Comment #1
jphautin commentedComment #2
alexh commentedYes, I had the same issue and fixed it like this:
Y-m-d\TH:i:sat admin/config/regional/date-time/formatsHope that helps.
Comment #3
merilainen commentedDoesn't work for me :(Works after all, there are many dates in the data, some of them don't seem to get imported correctly. I'll add another issue if it becomes a problem.
Comment #4
jphautin commentedIn fact, exif date format depends on the camera you are using. Some save date with the 'T', some do not.
This is why you need to define yourself the format of your camera.
N.B.: Exif specification indicate to use the date format with the 'T'.
Comment #5
jphautin commented