From dd9711df97e605e9015445d00337164b40f1bd00 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 13 Dec 2022 22:17:31 +0100 Subject: Bump libdcp to a version with UTCOffset. This is needed for 2.17.x but I ran the tests on main and they look OK, so doing it this way should save a few merge conflicts. --- src/lib/kdm_cli.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/kdm_cli.cc') diff --git a/src/lib/kdm_cli.cc b/src/lib/kdm_cli.cc index a6656fa0e..a76155a2c 100644 --- a/src/lib/kdm_cli.cc +++ b/src/lib/kdm_cli.cc @@ -357,8 +357,8 @@ from_dkdm ( int const offset_hour = i->cinema ? i->cinema->utc_offset_hour() : 0; int const offset_minute = i->cinema ? i->cinema->utc_offset_minute() : 0; - dcp::LocalTime begin(valid_from, offset_hour, offset_minute); - dcp::LocalTime end(valid_to, offset_hour, offset_minute); + dcp::LocalTime begin(valid_from, dcp::UTCOffset(offset_hour, offset_minute)); + dcp::LocalTime end(valid_to, dcp::UTCOffset(offset_hour, offset_minute)); auto const kdm = kdm_from_dkdm( dkdm, -- cgit v1.2.3