Skip to content

column.type = 'Date' #19

Description

@cmpolis
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
}

Activity

  1. timelyportfolio commented on Sep 23, 2015

    @timelyportfolio
    Contributor

    Just in case you copy/paste into the real code

    dateParser: dateForamt.parse,

    should be

    dateParser: dateFormat.parse,

    :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions