mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 09:33:34 -06:00
Function name makes sense now
This commit is contained in:
parent
890c527ae5
commit
e1432f4339
@ -158,7 +158,7 @@ function (angular, _, moment) {
|
||||
playlistSrv.stop(1);
|
||||
};
|
||||
|
||||
$scope.dateFormat = function(date) {
|
||||
$scope.formatDate = function(date) {
|
||||
return moment(date).format('MMMM Do YYYY, h:mm a');
|
||||
};
|
||||
|
||||
|
@ -47,11 +47,11 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td><b>Updated at</b></td><td> : </td>
|
||||
<td>{{dateFormat(dashboardMeta.updated)}}</td>
|
||||
<td>{{formatDate(dashboardMeta.updated)}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Created at</b></td><td> : </td>
|
||||
<td>{{dateFormat(dashboardMeta.created)}}</td>
|
||||
<td>{{formatDate(dashboardMeta.created)}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user