Fix margin issues and eslint warnings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-06-16 21:52:11 +02:00
committed by Julius Härtl
parent 9a77bd7c7c
commit b350213a01
6 changed files with 30 additions and 12 deletions

View File

@@ -20,6 +20,10 @@
*
*/
/* global app */
/* global OC */
/* global moment */
app.filter('relativeDateFilter', function() {
return function (timestamp) {
return OC.Util.relativeModifiedDate(timestamp*1000);
@@ -43,7 +47,7 @@ app.filter('parseDate', function() {
if(moment(date).isValid()) {
return moment(date).format('YYYY-MM-DD');
}
return "";
return '';
}
});
@@ -52,6 +56,6 @@ app.filter('parseTime', function() {
if(moment(date).isValid()) {
return moment(date).format('HH:mm');
}
return "";
return '';
}
});