title: Cake PHP timezone wrong
body: <p>I got a strange problem with Cake. I live in Germany. When I add posts the time in the "created" database-field is 6 hours back. E.g. a post created 6pm shows up in the database as created 12am.
  I use a managed server and I contacted the company which set the php.ini to the correct timezone Europe/Berlin. When I request the servers php.ini, it shows the timezone "Europe/Berlin" correctly. But when I run the code</p>
  
  <pre><code>$timezone = date_default_timezone_get();
  echo "The current server timezone is: " . $timezone;
  </code></pre>
  
  <p>in CakePHP it shows </p>
  
  <pre><code>The current server timezone is: America/New_York
  </code></pre>
  
  <p>I already tried to set in the core.php:</p>
  
  <pre><code>date_default_timezone_set('Europe/Berlin');
  </code></pre>
  
  <p>But that has no effect at all.
  Hopefully someone knows what to do.</p>
  
  <p><strong>EDIT 1:</strong></p>
  
  <p>After asking the support to run "locale -a", following was spit out:</p>
  
  <pre><code># locale -a
  C
  de_DE
  de_DE@euro
  de_DE.iso88591
  de_DE.iso885915@euro
  de_DE.utf8
  deutsch
  en_US.utf8
  german
  POSIX
  </code></pre>
  
  <p>I assume that serverside everything is fine and the error is cake-wise. 
  But I don´t have a clue what to do next? Maybe someone can help. Thanks in advance.</p>
  
  <p>** EDIT 2: **</p>
  
  <p>After looking around what it could be I found the error in the bootstrap.php of the Usermanagement-plugin, which set the timezone there to UTC. So everything works fine now. Thanks for your help anyway.</p>