标题中的电子邮件日期(CodeIgniter)为7小时
当我们从我们的网站收到邮件时,首先是通过CodeIgniter,然后是谷歌应用程序(mailer)——标题中的日期比实际时间晚7小时 我们已经检查了服务器时间,并且设置正确 有没有人遇到过这个问题标题中的电子邮件日期(CodeIgniter)为7小时,codeigniter,email,mailer,Codeigniter,Email,Mailer,当我们从我们的网站收到邮件时,首先是通过CodeIgniter,然后是谷歌应用程序(mailer)——标题中的日期比实际时间晚7小时 我们已经检查了服务器时间,并且设置正确 有没有人遇到过这个问题 谢谢 它可能与system/application/config/config.php中的此设置有关: /* |-------------------------------------------------------------------------- | Master Time Refere
谢谢 它可能与
system/application/config/config.php
中的此设置有关:
/*
|--------------------------------------------------------------------------
| Master Time Reference
|--------------------------------------------------------------------------
|
| Options are "local" or "gmt". This pref tells the system whether to use
| your server's local time as the master "now" reference, or convert it to
| GMT. See the "date helper" page of the user guide for information
| regarding date handling.
|
*/
$config['time_reference'] = 'local';
它可能与
system/application/config/config.php中的此设置有关:
/*
|--------------------------------------------------------------------------
| Master Time Reference
|--------------------------------------------------------------------------
|
| Options are "local" or "gmt". This pref tells the system whether to use
| your server's local time as the master "now" reference, or convert it to
| GMT. See the "date helper" page of the user guide for information
| regarding date handling.
|
*/
$config['time_reference'] = 'local';