export function dateFormatter()

in src/lib/helpers/tickFormatters.js [29:38]


export function dateFormatter(tickValues) {
    const length = tickValues.length;    
    return (d, i) => {
        if (i === 0 || i === length - 1) {
            return moment(d).utc().format("D MMM YY")
        }

        return moment(d).utc().format("MMM")
    }
}