Commit e1432f43 by utkarshcmu

Function name makes sense now

parent 890c527a
......@@ -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>&nbsp:&nbsp</td>
<td>{{dateFormat(dashboardMeta.updated)}}</td>
<td>{{formatDate(dashboardMeta.updated)}}</td>
</tr>
<tr>
<td><b>Created at</b></td><td>&nbsp:&nbsp</td>
<td>{{dateFormat(dashboardMeta.created)}}</td>
<td>{{formatDate(dashboardMeta.created)}}</td>
</tr>
</table>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment