Skip to content
This repository
Browse code

Kohana timezone fix. Closes #354

  • Loading branch information...
commit b0b4f1f0cb95318edf4fdcdf2775b0eb2fc5f7d6 1 parent 9750e5c
Emmanuel Kala ekala authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  system/core/Kohana.php
2  system/core/Kohana.php
@@ -113,7 +113,7 @@ public static function setup()
113 113
114 114 // Set default timezone, due to increased validation of date settings
115 115 // which cause massive amounts of E_NOTICEs to be generated in PHP 5.2+
116   - date_default_timezone_set(empty($timezone) ? date_default_timezone_get() : $timezone);
  116 + date_default_timezone_set(empty($timezone) ? 'UTC' : $timezone);
117 117 }
118 118
119 119 // Restore error reporting

0 comments on commit b0b4f1f

Please sign in to comment.
Something went wrong with that request. Please try again.