datacomb icon indicating copy to clipboard operation
datacomb copied to clipboard

`column.type = 'Date'`

Open cmpolis opened this issue 10 years ago • 1 comments

var dateFormat = d3.time.format("%Y-%m-%d");

// column defenition
{
  label: 'Birthday',
  type: 'date',
  accessor: function(row) { return row.birthday },
  dateParser: dateForamt.parse,
  format: dateFormat
}

cmpolis avatar Sep 23 '15 03:09 cmpolis

Just in case you copy/paste into the real code

dateParser: dateForamt.parse,

should be

dateParser: dateFormat.parse,

:)

timelyportfolio avatar Sep 23 '15 03:09 timelyportfolio