nl_tokens: getDatetimeUnit - determine the unit of time for padding the axis
pl_tokens: function getDatetimeUnit ( min , max ) { const diff = max . diff ( <mask> , 'days' ) ; let unit = 'month' ; if ( diff <= 14 ) { unit = 'day' ; } else if ( diff > 14 && diff <= 183 ) { unit = 'week' ; } return unit ; }