Fix margin issues and eslint warnings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
9a77bd7c7c
commit
b350213a01
@@ -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 '';
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user