Browse Source

#3246 FIX - weekly scale minor label fix (#3361)

* weekly scale minor label fix

* don't break lint guidelines

* ignore linting
revert-3409-performance
Chris Sand 7 years ago
committed by Yotam Berkowitz
parent
commit
44ffb4427a
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      lib/timeline/TimeStep.js

+ 1
- 2
lib/timeline/TimeStep.js View File

@ -582,8 +582,7 @@ TimeStep.prototype.getLabelMinor = function(date) {
if(this.isMajor() && date.weekday() !== 0){
return "";
}
break;
default:
default: // eslint-disable-line no-fallthrough
return (format && format.length > 0) ? this.moment(date).format(format) : '';
}
};

Loading…
Cancel
Save