public static function format($date = null, $includeTime = false)
    {
        $date = new DateTime($date);

        if (! $includeTime) {
            return $date->format(config('settings.dateFormat'));
        }

        return $date->format(config('settings.dateFormat').' h:i:s A');
    }