I have changed format date that way:
BaseModel.php:
use Carbon\Carbon;
class BaseModel extends \Eloquent {
public function getCreatedAtAttribute($attr) {
return Carbon::parse($attr)->format('d F y);
}
}
But how can i translate it for russian or any other language?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community