I’ve recently started editing my RAW images with darktable and I’m very happy with the software.
But when I export my images as JPEGs, the EXIF data of the JPEG file always contains the export time instead of the capture time. This bothers me, but I don’t know how to change it.
Under “export” → “preferences…” I have marked “EXIF Data”.
If I look with exiftool at an image exported with darktable, I see (among others):
“Date and Time” this corresponds to the creation date of the jpg
“Date and Time Original”,
"Date and Time (digitised),
"Date and Time (original): the last three all correspond to the time the original image was captured.
I also see three file-related dates, which depend on the file-system (they are not part of the embedded metadata).
So it looks like your viewer reports the date the jpg was created (not unreasonable in itself)