gitlab-org--gitlab-foss/app/assets/javascripts/monitoring/constants.js
Phil Hughes 88f69cbd8c Used reduce over forEach
Moved shared date & time formats into constants
2017-04-21 12:33:31 +01:00

4 lines
130 B
JavaScript

import d3 from 'd3';
export const dateFormat = d3.time.format('%b %d, %Y');
export const timeFormat = d3.time.format('%H:%M%p');