Skip to content

Commit

Permalink
set the default timezone to UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoester committed Aug 24, 2012
1 parent 685ad2e commit 881de92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sampleApp/protected/config/main.php
Expand Up @@ -3,6 +3,8 @@
// uncomment the following to define a path alias // uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder'); // Yii::setPathOfAlias('local','path/to/local-folder');


date_default_timezone_set( 'UTC' );

// This is the main Web application configuration. Any writable // This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here. // CWebApplication properties can be configured here.
return array( return array(
Expand Down

0 comments on commit 881de92

Please sign in to comment.