24 include_once(
'./Services/Calendar/classes/class.ilDate.php');
25 include_once(
'./Services/Calendar/classes/class.ilCalendarSettings.php');
52 self::$use_relative_dates = $a_status;
122 $has_time = !is_a($date,
'ilDate');
135 if(self::isToday($date) and self::useRelativeDates())
139 elseif(self::isTomorrow($date) and self::useRelativeDates())
143 elseif(self::isYesterday($date) and self::useRelativeDates())
149 include_once(
'./Services/Calendar/classes/class.ilCalendarUtil.php');
160 switch($ilUser->getTimeFormat())
186 $has_time = !is_a($start,
'ilDate');
203 switch($ilUser->getTimeFormat())
214 switch($ilUser->getTimeFormat())
217 return $date_str.
', '.$start->
get(
IL_CAL_FKT_DATE,
'H:i',$ilUser->getTimeZone()).
' - '.
221 return $date_str.
', '.$start->
get(
IL_CAL_FKT_DATE,
'g:ia',$ilUser->getTimeZone()).
' - '.
245 if(!is_object(self::$today))
264 if(!is_object(self::$yesterday))
285 if(!is_object(self::$tomorrow))