As a further test, I modified the image again and subtracted another hour from the time. I removed the image from darktable, then imported it again and it showed 03:29:14 PM. So, it works correctly on my system with Canon raws. I looked around and found a Nikon file on my system. I imported it and then changed the time by an hour, removed it, and reimported it. The time in darktable stayed the same and did not reflect the change. I dumped the Nikon file with exiftool and there is a field Date/Time Original which still has the original time. I dumped the Canon file and it has the Date/Time Original field but the value is modified to the time I specified. It appears that exiv2 doesn't set the Date/Time Original field inside Nikon files correctly.
Bill On Fri, Apr 6, 2018 at 3:10 PM, William Ferguson <[email protected]> wrote: > Just tried it on one of my files > > Original file exif > > File name : _7D_9686.CR2 > File size : 22606679 Bytes > MIME type : image/x-canon-cr2 > Image size : 5184 x 3456 > Camera make : Canon > Camera model : Canon EOS 7D > Image timestamp : 2018:03:26 17:29:14 > Image number : > Exposure time : 1/1000 s > Aperture : F6.3 > Exposure bias : 0 EV > Flash : No, compulsory > Flash bias : 0 EV > Focal length : 400.0 mm > Subject distance: 0 m26.31 m37.42 m > ISO speed : 250 > Exposure mode : Manual > Metering mode : Multi-segment > Macro mode : Off > Image quality : RAW > Exif Resolution : 5184 x 3456 > White balance : Auto > Thumbnail : image/jpeg, 15286 Bytes > Copyright : (c) 2018 Bill Ferguson. All Rights Reserved. > Exif comment : > > > Copied the file to another directory and did exiv2 -v ad -a -1:00:00 > _7D_9686.CR2 > > Modified file exif > > File name : _7D_9686.CR2 > File size : 22606679 Bytes > MIME type : image/x-canon-cr2 > Image size : 5184 x 3456 > Camera make : Canon > Camera model : Canon EOS 7D > Image timestamp : 2018:03:26 16:29:14 > Image number : > Exposure time : 1/1000 s > Aperture : F6.3 > Exposure bias : 0 EV > Flash : No, compulsory > Flash bias : 0 EV > Focal length : 400.0 mm > Subject distance: 0 m26.31 m37.42 m > ISO speed : 250 > Exposure mode : Manual > Metering mode : Multi-segment > Macro mode : Off > Image quality : RAW > Exif Resolution : 5184 x 3456 > White balance : Auto > Thumbnail : image/jpeg, 15286 Bytes > Copyright : (c) 2018 Bill Ferguson. All Rights Reserved. > Exif comment : > > > Started darktable and imported the file and it showed 04:29:14 PM, > so it appears to be working correctly, at least on my system. > > Try copying or moving the file to a different directory, then import it > and see if the time is correct. If that works, then my guess would be that > when you thought it was removed from the database, it didn't actually get > removed from the database. > > Hope this helps, > > Bill > > On Fri, Apr 6, 2018 at 2:18 PM, Jean-Luc CECCOLI < > [email protected]> wrote: > >> Well... no one who can tell ? >> >> >> >> >> >> >> >> > Message du 01/04/18 15:01 >> > De : "Jean-Luc CECCOLI" <[email protected]> >> > A : [email protected] >> > Copie à : >> > Objet : [darktable-user] DT & Exif data (ex : Vacations) >> >> > >> > >> >> > Hello, >> >> > >> >> > Merry Eastern to everyone. >> >> > >> >> > I am just trying to understand where and how DT retrieves data from the >> exifs. >> >> > After reading the thread, I did a exiv2 -v ad -a -1:00:00 Test.nef. >> >> > The photo named Test.nef is one with no importance, so no matter what >> could happen to it. >> >> > Before applying the command to it, DT displayed 18:35:15 as shooting >> time. >> >> > After that, although exiv2 told it had modified 3 instances of the >> time, DT still displayed 18:35:15 instead of 17:35:15. >> >> > As I re-imported it after removing it frome the database, it can not be >> a matter of persistent data. >> >> > So, again, where does DT retrieve this unmodified time ? >> >> > >> >> > >> >> > >> >> > Message du 24/03/18 09:40 >> > De : "Hervé Sainct" <[email protected]> >> > A : [email protected] >> > Copie à : >> > Objet : Re: [darktable-user] Vacations >> > >> > >> > >> > Le 22/03/2018 à 14:46, [email protected] a écrit : >> > >> If xnviewmp works fine why not just using it? >> > > I want to also do the ratings and labels but somehow I haven't >> > > figured a way of importing these from xnviewmp to dt. >> > > >> > > I'm going for a while, so I'd like to be done with the dam before >> > > coming back home. >> > > >> > FWIW, I use FastPhotoTagger as a quick initial sorter/tagger; it writes >> > directly inside the EXIF data (not creating any sidecar file) -I know >> > from a DT point of view this is a terrible sin, but I find this very >> > helpful : any search engine becomes terribly efficient (e. g. Recoll), >> > people you give your pics get them tagged too... >> > The only draback in FastPhotoTagger is actually linked to that : when >> > upgrading the Exifs the filedates are changed. >> > This sometimes is a concern, but a ferocious exiv2 rename -T *.* solves >> > it... >> > http://fastphototagger.sourceforge.net/ >> > ____________________________________________________________ >> ________________ >> > darktable user mailing list >> > to unsubscribe send a mail to darktable-user+unsubscribe@lis >> ts.darktable.org >> > >> > >> >> >> > ____________________________________________________________________________ >> darktable user mailing list to unsubscribe send a mail to >> [email protected] >> > >> >> >> ____________________________________________________________________________ >> darktable user mailing list to unsubscribe send a mail to >> [email protected] >> > > ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
