yii2时区语言设置
2020-12-13 02:41
阅读:407
标签:char str return com yii2 Matter ring utf-8 nts
main.php
return [
‘charset‘ => ‘utf-8‘,
‘language‘ => ‘zh-CN‘,
‘timeZone‘ => ‘Asia/Shanghai‘,
‘components‘ => [
‘cache‘ => [
‘class‘ => ‘yii\caching\FileCache‘
],
‘formatter‘ => [
‘dateFormat‘ => ‘yyyy-MM-dd‘,
‘timeFormat‘ => ‘HH:mm:ss‘,
‘datetimeFormat‘ => ‘yyyy-MM-dd HH:mm:ss‘
]
]
];
yii2时区语言设置
标签:char str return com yii2 Matter ring utf-8 nts
原文地址:https://www.cnblogs.com/niuben/p/11048535.html
上一篇:测试webservice的时候,如果出现这个错误:"The test form is only available for requests from the local machine
下一篇:WindowId 译
评论
亲,登录后才可以留言!