Tracker: Fix notification dates could be in wrong timezone

This commit is contained in:
nathangray 2021-05-05 11:57:21 -06:00
parent d367da6ba8
commit 3ada84be0f

View File

@ -781,7 +781,8 @@ abstract class Tracking
// Cache message body to not have to re-generate it every time
$lang = Api\Translation::$userlang;
$date_format = $GLOBALS['egw_info']['user']['preferences']['common']['dateformat'] .
$GLOBALS['egw_info']['user']['preferences']['common']['timeformat'];
$GLOBALS['egw_info']['user']['preferences']['common']['timeformat'].
$GLOBALS['egw_info']['user']['preferences']['common']['tz'];
// Cache text body, if there's no private custom fields we might reveal
if($can_cache)