From 0182dbc3db31b2845fa4e90ea7c627beee7e84cc Mon Sep 17 00:00:00 2001 From: Andrei Shevchuk Date: Sun, 20 Nov 2011 15:26:45 +0400 Subject: [PATCH] indentation fix --- lib/Twig/Extension/Core.php | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index c0ab8cb..11a0ee4 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -238,10 +238,10 @@ function twig_date_format_filter($date, $format = 'F j, Y H:i', $timezone = null { if (!$date instanceof DateTime && !$date instanceof DateInterval) { if (ctype_digit((string) $date) - || (!empty($date[0]) - && ('-' === $date[0]) - && ctype_digit(substr($date, 1))) - ) { + || (!empty($date[0]) + && ('-' === $date[0]) + && ctype_digit(substr($date, 1))) + ) { $date = new DateTime('@'.$date); $date->setTimezone(new DateTimeZone(date_default_timezone_get())); } else { -- 1.7.2.5