diff --git a/src/switch_xml.c b/src/switch_xml.c index 237873e15d..e949113a59 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -2920,7 +2920,7 @@ SWITCH_DECLARE(int) switch_xml_std_datetime_check(switch_xml_t xcond, int *offse if (offset) { eoffset = *offset; - switch_time_exp_tz(&tm, ts, *offset); + switch_time_exp_tz(&tm, ts, *offset * 3600); } else { tm = tm2; }