Commit e1432f43 by utkarshcmu

Function name makes sense now

parent 890c527a
...@@ -158,7 +158,7 @@ function (angular, _, moment) { ...@@ -158,7 +158,7 @@ function (angular, _, moment) {
playlistSrv.stop(1); playlistSrv.stop(1);
}; };
$scope.dateFormat = function(date) { $scope.formatDate = function(date) {
return moment(date).format('MMMM Do YYYY, h:mm a'); return moment(date).format('MMMM Do YYYY, h:mm a');
}; };
......
...@@ -47,11 +47,11 @@ ...@@ -47,11 +47,11 @@
<table> <table>
<tr> <tr>
<td><b>Updated at</b></td><td>&nbsp:&nbsp</td> <td><b>Updated at</b></td><td>&nbsp:&nbsp</td>
<td>{{dateFormat(dashboardMeta.updated)}}</td> <td>{{formatDate(dashboardMeta.updated)}}</td>
</tr> </tr>
<tr> <tr>
<td><b>Created at</b></td><td>&nbsp:&nbsp</td> <td><b>Created at</b></td><td>&nbsp:&nbsp</td>
<td>{{dateFormat(dashboardMeta.created)}}</td> <td>{{formatDate(dashboardMeta.created)}}</td>
</tr> </tr>
</table> </table>
</li> </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