Skip to content

Commit

Permalink
fix(csv): render timestamps in date output
Browse files Browse the repository at this point in the history
This commit switches the CSV renderer's date format to allow timestamps
in the date field for further analysis.
  • Loading branch information
Jonathan Niles committed Jan 31, 2017
1 parent 6bbd793 commit 41aa2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lib/renderers/csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const converter = require('json-2-csv');
const moment = require('moment');

// @TODO Discuss if this should be moved into its own library
const DATE_FORMAT = 'DD/MM/YYYY';
const DATE_FORMAT = 'DD/MM/YYYY H:mm:s';
const SUPPRESS_DEFAULT_FORMATTING = false;
const SUPPRESS_DEFAULT_FILTERING = false;

Expand Down

0 comments on commit 41aa2ad

Please sign in to comment.