Skip to content

Commit defaf8e

Browse files
committed
add half-year directive to descriptions
1 parent efcbfaa commit defaf8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plots/cartesian/axis_format.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ function descriptionOnlyNumbers(label) {
3636
function descriptionWithDates(label) {
3737
return descriptionOnlyNumbers(label) + [
3838
' And for dates see: ' + DATE_FORMAT_LINK,
39-
'We add one item to d3\'s date formatter: *%{n}f* for fractional seconds',
39+
'We add two items to d3\'s date formatter:',
40+
'*%h* for half of the year as a decimal number as well as',
41+
'*%{n}f* for fractional seconds',
4042
'with n digits. For example, *2016-10-13 09:15:23.456* with tickformat',
4143
'*%H~%M~%S.%2f* would display *09~15~23.46*'
4244
].join(' ');

0 commit comments

Comments
 (0)