1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 06:49:40 +02:00

Add images views and controllers

This commit is contained in:
Michael Crosby 2013-06-09 14:11:40 -09:00
parent 72cef567be
commit d4c556752f
6 changed files with 150 additions and 3 deletions

View file

@ -24,4 +24,11 @@ angular.module('dockerui.filters', [])
}
return 'success';
};
})
.filter('getdate', function() {
return function(data) {
//Multiply by 1000 for the unix format
var date = new Date(data * 1000);
return date.toDateString();
};
});