Fix timezone problem
This commit is contained in:
parent
8cdbf08482
commit
603f7bb72e
2 changed files with 4 additions and 3 deletions
|
|
@ -43,6 +43,7 @@ function smarty_modifier_date_format($string, $format = null, $default_date = ''
|
|||
} else {
|
||||
return;
|
||||
}
|
||||
$timestamp += 3600;
|
||||
if ($formatter == 'strftime' || ($formatter == 'auto' && strpos($format, '%') !== false)) {
|
||||
if (DS == '\\') {
|
||||
$_win_from = array('%D', '%h', '%n', '%r', '%R', '%t', '%T');
|
||||
|
|
|
|||
Reference in a new issue