ADmad/cakephp — pull request #1 by rchavik (2012-04-17 05:50:10+00:00)
Title: adding CakeTimeTest::testDateTimeZoneAsUserOffset()

Admad,

This was written when I was trying to implement the DateTimeZone support in 2.1. It could be a additional test for this feature.

However, there is something strange going on, ie: running the test standalone works, but failed when combined with other tests:

```
There was 1 failure:

1) CakeTimeTest::testDateTimeZoneAsUserOffset
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Tue, Feb 7th 2012, 23:23'
+'2012-07-02 23:23:32'

/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/Test/Case/Utility/CakeTimeTest.php:902
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/TestSuite/CakeTestCase.php:78
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/TestSuite/CakeTestRunner.php:57
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/TestSuite/CakeTestSuiteCommand.php:111
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/Console/Command/TestShell.php:274
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/Console/Command/TestShell.php:259
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/Console/Shell.php:389
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/Console/ShellDispatcher.php:199
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/Console/ShellDispatcher.php:69
/mnt/user-data/users/rachman/work/core/cake_2.0/lib/Cake/Console/cake.php:41
```