Displayed datetime format doesn't match with the APP_DEFAULT_LOCALE

I am using CakePHP 4.4.14. The APP_DEFAULT_LOCALE is set to en_CA and APP_DEFAULT_TIMEZONE is America/Toronto. Though the datetime displayed on my website is in the en_US format. i.e., 3/15/12, 3:19 p.m.. How can I change this?

Manually add

FrozenTime::setToStringFormat('dd.MM.yyyy HH:mm');

or whatever format you want to your config/bootstrap.php.

But be aware that you have to use the ICU format - NOT the PHP Date format.

also see Date & Time - 4.x

Thank you. I have already set ini_set('intl.default_locale', Configure::read('App.defaultLocale')); in bootstrap.php file. But since that is not fixing the issue, can I add
Cake\I18n\FrozenTime::setDefaultLocale('es-CA'); in config/bootstrap.php ?