title: Set default database DateFormat to ISO 8601 with timezones in Laravel
body: <p>I think the title says it: I want to use ISO 8601 with timezones as default DateTime-Format in Laravels Eloquent. I got this</p>
  
  <pre><code>class mEloquent extends Eloquent {
  
     protected function getDateFormat()
     {
         return 'YYYY-MM-DDThh:mm:ss.sTZD';
     }
  
  }
  </code></pre>
  
  <p>All my models will extend mEloquent. But how should I build the tables? Just </p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Migrations\Migration;
  use Illuminate\Database\Schema\Blueprint;
  
  class CreateUsersTable extends Migration {
  
  /**
   * Run the migrations.
   *
   * @return void
   */
  public function up()
  {
      Schema::create('users', function(Blueprint $table)
      {
          $table-&gt;increments('id');
          $table-&gt;string('firstName');
          $table-&gt;string('lastName');
          $table-&gt;string('email')-&gt;unique();
          $table-&gt;string('password');
          $table-&gt;timestamps();
      });
  } ......
  </code></pre>
  
  <p>as normal?
  How can I compare this dateformat? Or shoud I just use the default one and save the timezone separately?</p>