From 78b26c2cc588b7ea1c8296a56381aee555f73136 Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Wed, 23 Feb 2011 21:05:33 +0100 Subject: [PATCH] [Form] Renamed type 'raw' to 'array' in date and time field --- src/Symfony/Component/Form/FormFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Form/FormFactory.php b/src/Symfony/Component/Form/FormFactory.php index 2c894e1f7c..18dcc684dc 100644 --- a/src/Symfony/Component/Form/FormFactory.php +++ b/src/Symfony/Component/Form/FormFactory.php @@ -634,7 +634,7 @@ class FormFactory 'input_timezone' => $options['data_timezone'], )) )); - } else if ($options['type'] === 'raw') { + } else if ($options['type'] === 'array') { $field->setNormalizationTransformer(new ReversedTransformer( new DateTimeToArrayTransformer(array( 'input_timezone' => $options['data_timezone'], @@ -706,7 +706,7 @@ class FormFactory 'output_timezone' => $options['data_timezone'], )) )); - } else if ($options['type'] === 'raw') { + } else if ($options['type'] === 'array') { $field->setNormalizationTransformer(new ReversedTransformer( new DateTimeToArrayTransformer(array( 'input_timezone' => $options['data_timezone'],