X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_kdm.cc;h=b98ec84a9aa939cf165c84bd1283afc8aad10e56;hb=bdae32bb84672026c1a373e809804109e95accf4;hp=643aaeb7730a8cc830175d9a99253159cf731510;hpb=c55877926307d7018942beb5fd65a39f278e05de;p=dcpomatic.git diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 643aaeb77..b98ec84a9 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -38,6 +38,7 @@ #include "lib/cinema_kdms.h" #include "lib/send_kdm_email_job.h" #include "lib/compose.hpp" +#include "lib/cinema.h" #include #include #include @@ -270,7 +271,11 @@ private: /* Make an empty KDM */ dcp::DecryptedKDM kdm ( - _timing->from(), _timing->until(), decrypted.annotation_text(), decrypted.content_title_text(), dcp::LocalTime().as_string() + dcp::LocalTime (_timing->from(), i->cinema->utc_offset(), 0), + dcp::LocalTime (_timing->until(), i->cinema->utc_offset(), 0), + decrypted.annotation_text(), + decrypted.content_title_text(), + dcp::LocalTime().as_string() ); /* Add keys from the DKDM */