diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c index 21a29c33c..ad80c8f61 100644 --- a/camlibs/ptp2/config.c +++ b/camlibs/ptp2/config.c @@ -6156,6 +6156,7 @@ static struct submenu camera_status_menu[] = { static struct submenu camera_settings_menu[] = { { N_("Camera Date and Time"), "datetime", PTP_DPC_CANON_UnixTime, PTP_VENDOR_CANON, PTP_DTC_UINT32, _get_UINT32_as_time, _put_UINT32_as_time }, + { N_("Camera Date and Time"), "datetime", PTP_DPC_CANON_EOS_UTCTime, PTP_VENDOR_CANON, PTP_DTC_UINT32, _get_UINT32_as_time, _put_UINT32_as_time }, { N_("Camera Date and Time"), "datetime", PTP_DPC_CANON_EOS_CameraTime, PTP_VENDOR_CANON, PTP_DTC_UINT32, _get_UINT32_as_time, _put_UINT32_as_time }, { N_("Camera Date and Time"), "datetime", PTP_DPC_DateTime, 0, PTP_DTC_STR, _get_STR_as_time, _put_STR_as_time }, { N_("Beep Mode"), "beep", PTP_DPC_CANON_BeepMode, PTP_VENDOR_CANON, PTP_DTC_UINT8, _get_Canon_BeepMode, _put_Canon_BeepMode }, diff --git a/camlibs/ptp2/ptp-pack.c b/camlibs/ptp2/ptp-pack.c index 89d11f03e..71c82d628 100644 --- a/camlibs/ptp2/ptp-pack.c +++ b/camlibs/ptp2/ptp-pack.c @@ -1811,6 +1811,8 @@ ptp_unpack_CANON_changes (PTPParams *params, unsigned char* data, int datasize, /* set DataType */ switch (proptype) { case PTP_DPC_CANON_EOS_CameraTime: + case PTP_DPC_CANON_EOS_UTCTime: + case PTP_DPC_CANON_EOS_Summertime: /* basical the DST flag */ case PTP_DPC_CANON_EOS_AvailableShots: case PTP_DPC_CANON_EOS_CaptureDestination: case PTP_DPC_CANON_EOS_WhiteBalanceXA: