title: Laravel - diffForHumans in German
body: <p>I am trying to display the <code>created_at</code> attribute using Carbon's <code>diffForHumans()</code> in German in laravel 5.2.<br><br>
  <code>created_at</code> is stored in the database as: <code>2017-03-29 17:31:52</code><br><br>
  <strong>The model</strong></p>
  
  <pre><code>protected $dates = ['created_at', 'updated_at'];
  
  public static function getCreatedAtAttribute($value)
  {
      Carbon::setLocale('de');
      return Carbon::parse($value, 'Europe/Berlin')-&gt;diffForHumans();
  }
  </code></pre>
  
  <p><code>dd($value);</code> returns <code>"2017-03-29 17:31:52"</code>.<br><br>
  <strong>The view</strong><br></p>
  
  <pre><code>@foreach($posts as $post)
      &lt;small&gt;{{ $post-&gt;getCreatedAtAttribute($post-&gt;created_at) }}&lt;/small&gt;
  @endforeach
  </code></pre>
  
  <p><strong>The error</strong></p>
  
  <blockquote>
    <p>DateTime::__construct(): Failed to parse time string (vor 3 Tagen) at
    position 0 (v): The timezone could not be found in the database</p>
  </blockquote>
  
  <p><br>
  I would be very thankful for any kind of help!</p>