if ($this->data['date'])
        {
            $date_format = (string) $date_format;
            switch ($date_format)
            {