you need set locale so cake change ur date / currency display for all app:
in config/app.php 'defaultLocale' => env('APP_DEFAULT_LOCALE', 'UR_LOCALE_CODE),
in config/bootstrap.php (u must change format for your locale)
//Enable immutable time objects in the ORM.
//
//You can enable default locale format parsing by adding calls
//to `useLocaleParser()`. This enables the automatic conversion of
//locale specific date formats. For details see
//@link http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html#parsing-localized-datetime-data
//Change the preferred class name to the FrozenTime implementation.
\Cake\Database\Type::build('time')->useImmutable();
\Cake\Database\Type::build('date')->useImmutable();
\Cake\Database\Type::build('datetime')->useImmutable();
\Cake\Database\Type::build('timestamp')->useImmutable();
//http://discourse.cakephp.org/t/cakephp-locale-pt-br-and-dateformat/1002
//https://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html#localizing-dates-and-numbers
//https://book.cakephp.org/3.0/en/core-libraries/time.html#setting-the-default-locale-and-format-string
//format chronos
\Cake\I18n\Time::setToStringFormat([IntlDateFormatter::MEDIUM, IntlDateFormatter::SHORT]);
\Cake\I18n\Time::setToStringFormat('dd/MM/YYYY HH:mm');
\Cake\I18n\Date::setToStringFormat('dd/MM/yyyy');
\Cake\I18n\FrozenTime::setToStringFormat('dd/MM/yyyy HH:mm');
\Cake\I18n\FrozenDate::setToStringFormat('dd/MM/yyyy');
//https://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html#localizing-dates-and-numbers
\Cake\Database\Type::build('date')->useLocaleParser()->setLocaleFormat('dd/MM/yyyy');
\Cake\Database\Type::build('datetime')->useLocaleParser()->setLocaleFormat('dd/MM/yyyy HH:mm');
\Cake\Database\Type::build('timestamp')->useLocaleParser()->setLocaleFormat('dd/MM/yyyy HH:mm');
\Cake\Database\Type::build('decimal')->useLocaleParser();
\Cake\Database\Type::build('float')->useLocaleParser();
Can you tell me that what will be the value for IST(Indian Standard time)?
in config/app.php 'defaultLocale' => env('APP_DEFAULT_LOCALE', 'UR_LOCALE_CODE),