summaryrefslogtreecommitdiff
path: root/src/data_imports/DataImportJob.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/data_imports/DataImportJob.vala')
-rw-r--r--src/data_imports/DataImportJob.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/data_imports/DataImportJob.vala b/src/data_imports/DataImportJob.vala
index b27997c..df5aebe 100644
--- a/src/data_imports/DataImportJob.vala
+++ b/src/data_imports/DataImportJob.vala
@@ -1,4 +1,4 @@
-/* Copyright 2009-2014 Yorba Foundation
+/* Copyright 2009-2015 Yorba Foundation
*
* This software is licensed under the GNU LGPL (version 2.1 or later).
* See the COPYING file in this distribution.
@@ -157,6 +157,10 @@ public class DataImportJob : BatchImportJob {
string? title = src_photo.get_title();
if (title != null)
photo.set_title(title);
+ // exposure time
+ time_t? date_time = src_photo.get_exposure_time();
+ if (date_time != null)
+ photo.set_exposure_time(date_time);
// import ID
photo.set_import_id(import_roll.import_id);