updated lib/date iintervals to use the full year incl. centruy,

This commit is contained in:
Robert Elliott 2018-10-23 13:12:47 +02:00
parent 97a819a44d
commit e21a6022e7
1 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ export function getDateFormatsForInterval( interval, ticks = 0 ) {
let pointLabelFormat = 'F j, Y';
let tooltipFormat = '%B %d %Y';
let xFormat = '%Y-%m-%d';
let x2Format = '%b %y';
let x2Format = '%b %Y';
let tableFormat = 'm/d/Y';
switch ( interval ) {
@ -448,7 +448,7 @@ export function getDateFormatsForInterval( interval, ticks = 0 ) {
case 'month':
pointLabelFormat = 'F Y';
tooltipFormat = '%B %Y';
xFormat = '%b %y';
xFormat = '%b %Y';
x2Format = '';
break;
case 'year':