From 44ffb4427a67eadca82a4a5f52c2a5c842893001 Mon Sep 17 00:00:00 2001 From: Chris Sand Date: Wed, 16 Aug 2017 13:37:34 -0700 Subject: [PATCH] #3246 FIX - weekly scale minor label fix (#3361) * weekly scale minor label fix * don't break lint guidelines * ignore linting --- lib/timeline/TimeStep.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/timeline/TimeStep.js b/lib/timeline/TimeStep.js index 0639b35d..6f7ccae5 100644 --- a/lib/timeline/TimeStep.js +++ b/lib/timeline/TimeStep.js @@ -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) : ''; } };