diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-13 22:17:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-14 20:28:47 +0100 |
| commit | dd9711df97e605e9015445d00337164b40f1bd00 (patch) | |
| tree | 6ee851f0187df79c32928d3c8eda5efc545bdbbf /src/lib/kdm_cli.cc | |
| parent | 0185ba27b0e9c52a173147c1380ec5f345109afc (diff) | |
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.
Diffstat (limited to 'src/lib/kdm_cli.cc')
| -rw-r--r-- | src/lib/kdm_cli.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
