public function filterDateFormat($datetime, string $pattern = 'dd/MM/yyyy', string $locale = null): string
    {
        if (empty($locale)) {
            $locale = $this->getApp()->getProfile()->getLocale();
        }

        return b_date_format($datetime, $pattern, $locale);
    }