Skip to content

Commit

Permalink
undo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Apr 2, 2020
1 parent 4098b82 commit 4dbb30e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import moment from 'moment';

export const intervals = ['year', 'month', 'week', 'day', 'hour', 'minute'];

// TODO: remove this helper by using `schema.duration` objects in the reporting config schema
export function indexTimestamp(intervalStr, separator = '-') {
if (separator.match(/[a-z]/i)) throw new Error('Interval separator can not be a letter');

Expand Down

0 comments on commit 4dbb30e

Please sign in to comment.