public function decode($dateRange, array $configuration = [])
    {
        list($dateRangeStart, $dateRangeEnd) = explode(self::DELIMITER, $dateRange);

        $formatService = GeneralUtility::makeInstance(FormatService::class);
        $fromPart = '*';
        if($dateRangeStart !== ''){
            $fromPart = $formatService->timestampToIso(strtotime($dateRangeStart));
        }

        $toPart = '*';
        if($dateRangeEnd !== ''){
            $dateRangeEnd .= '59'; // adding 59 seconds
            $toPart = $formatService->timestampToIso(strtotime($dateRangeEnd));
        }

        $dateRangeFilter = '[' . $fromPart . ' TO ' . $toPart . ']';
        return $dateRangeFilter;
    }