mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-03-14 20:39:44 +01:00
Fix spelling mistake in IncidentPresenter@created_at_formatted
This commit is contained in:
parent
cf6f38d6d1
commit
1aacf1969d
@ -15,7 +15,7 @@
|
||||
<strong>{{ $incident->name }}</strong>
|
||||
<br>
|
||||
<small class="date">
|
||||
<abbr class="timeago" data-toggle="tooltip" data-placement="right" title="{{ $incident->created_at_formated }}" data-timeago="{{ $incident->created_at_iso }}">
|
||||
<abbr class="timeago" data-toggle="tooltip" data-placement="right" title="{{ $incident->created_at_formatted }}" data-timeago="{{ $incident->created_at_iso }}">
|
||||
</abbr>
|
||||
</small>
|
||||
</div>
|
||||
|
@ -51,11 +51,11 @@ class IncidentPresenter extends BasePresenter
|
||||
}
|
||||
|
||||
/**
|
||||
* Present formated date time.
|
||||
* Present formatted date time.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function created_at_formated()
|
||||
public function created_at_formatted()
|
||||
{
|
||||
return ucfirst((new Date($this->resource->created_at))
|
||||
->setTimezone($this->tz)
|
||||
@ -63,7 +63,7 @@ class IncidentPresenter extends BasePresenter
|
||||
}
|
||||
|
||||
/**
|
||||
* Present formated date time.
|
||||
* Present formatted date time.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user