constants.js 130 Bytes EditWeb IDE 1 2 3 4 import d3 from 'd3'; export const dateFormat = d3.time.format('%b %d, %Y'); export const timeFormat = d3.time.format('%H:%M%p');