This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
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
fbbb2cc730
commit
44ffb4427a
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
:
''
;
}
}
;
Write
Preview
Loading…
Cancel
Save