public function getPublishedAtAttribute($data) { return \LocalizedCarbon::instance(\Carbon\Carbon::parse($data)); }