title: Timezone in Yii2
body: <p>My computer time zone <code>'Asia/Tashkent'</code>. And I set Yii2 time zone to <code>'Asia/Tashkent'</code> too in config. But Yii2 is still displaying time incorrectly. I am wondering what I have missed?</p>
  
  <pre><code>$time = date("Y-m-d H:i:s", time()); 
  echo $time;  // 2018-03-07 14:10:57
  echo Yii::$app-&gt;formatter-&gt;asTime($time, 'medium'); // 7:10:57 PM
  echo Yii::$app-&gt;formatter-&gt;asDate($time, 'medium'); // Mar 7, 2018
  echo date_default_timezone_get(); // Asia/Tashkent
  </code></pre>