Fix timezone problem

This commit is contained in:
Némunaire 2015-01-18 12:10:52 +01:00 committed by Nemunaire
commit 603f7bb72e
2 changed files with 4 additions and 3 deletions

View file

@ -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');