[php-symfony2-Serializer] Updated patch to set default timezone

Shawn Iwinski siwinski at fedoraproject.org
Sun Oct 21 05:01:03 UTC 2012


commit a810a868e05124232e6f82c127560227cd6d52f9
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sun Oct 21 01:00:39 2012 -0400

    Updated patch to set default timezone

 php-symfony2-Serializer-tests-bootstrap.patch |    6 ++++--
 php-symfony2-Serializer.spec                  |    2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/php-symfony2-Serializer-tests-bootstrap.patch b/php-symfony2-Serializer-tests-bootstrap.patch
index b94014b..b799616 100644
--- a/php-symfony2-Serializer-tests-bootstrap.patch
+++ b/php-symfony2-Serializer-tests-bootstrap.patch
@@ -1,8 +1,10 @@
 --- Symfony/Component/Serializer/Tests/bootstrap.php	2012-09-20 03:42:18.000000000 -0400
-+++ Symfony/Component/Serializer/Tests/bootstrap.php	2012-10-20 18:41:16.620371858 -0400
-@@ -10,9 +10,18 @@
++++ Symfony/Component/Serializer/Tests/bootstrap.php	2012-10-21 00:48:18.123490683 -0400
+@@ -9,10 +9,20 @@
+  * file that was distributed with this source code.
   */
  
++date_default_timezone_set('UTC');
  spl_autoload_register(function ($class) {
 -    if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\Serializer')) {
 -        if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\Serializer')).'.php')) {
diff --git a/php-symfony2-Serializer.spec b/php-symfony2-Serializer.spec
index 98f4220..6bafcdb 100644
--- a/php-symfony2-Serializer.spec
+++ b/php-symfony2-Serializer.spec
@@ -122,7 +122,7 @@ fi
 
 
 %changelog
-* Sat Oct 20 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.1.2-1
+* Sun Oct 21 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.1.2-1
 - Updated to upstream version 2.1.2
 - PHP minimum version 5.3.3 instead of 5.3.2
 - Added php-date require


More information about the scm-commits mailing list