From 881de92717750567f806d8064f5f08f5dcc34101 Mon Sep 17 00:00:00 2001 From: libra guest Date: Fri, 24 Aug 2012 17:36:22 -0400 Subject: [PATCH] set the default timezone to UTC --- sampleApp/protected/config/main.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sampleApp/protected/config/main.php b/sampleApp/protected/config/main.php index 6919c74..b1b5f4e 100644 --- a/sampleApp/protected/config/main.php +++ b/sampleApp/protected/config/main.php @@ -3,6 +3,8 @@ // uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); +date_default_timezone_set( 'UTC' ); + // This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. return array(