diff --git a/web/skins/classic/includes/timeline_functions.php b/web/skins/classic/includes/timeline_functions.php index 6a98a28f7..a1c84f4f3 100644 --- a/web/skins/classic/includes/timeline_functions.php +++ b/web/skins/classic/includes/timeline_functions.php @@ -104,6 +104,10 @@ function parseFilterToTree( $filter ) { $sqlValue = "E.StartTime"; $dtAttr = true; break; + case 'StartDateTime': + $sqlValue = "E.StartTime"; + $dtAttr = true; + break; case 'Date': $sqlValue = "to_days( E.StartTime )"; $dtAttr = true; @@ -196,6 +200,9 @@ function parseFilterToTree( $filter ) { case 'DateTime': $value = "'".strftime( STRF_FMT_DATETIME_DB, strtotime( $value ) )."'"; break; + case 'StartDateTime': + $value = "'".strftime( STRF_FMT_DATETIME_DB, strtotime( $value ) )."'"; + break; case 'Date': $value = "to_days( '".strftime( STRF_FMT_DATETIME_DB, strtotime( $value ) )."' )"; break;