Added default stylesheet and less structure to create new themes

This commit is contained in:
knsv
2015-03-01 16:29:41 +01:00
parent 3c5a19e5a7
commit ead74558ea
22 changed files with 880 additions and 27 deletions

View File

@@ -94,8 +94,9 @@ var getEndDate = function(prevTime, dateFormat, str){
str = str.trim();
// Check for actual date
if(moment(str,dateFormat,true).isValid()){
return moment(str,dateFormat).toDate();
if(moment(str,dateFormat.trim(),true).isValid()){
return moment(str,dateFormat.trim()).toDate();
}
var d = moment(prevTime);