Skip to content

Filtering Date column not working in the new data viewer #714

@renkun-ken

Description

@renkun-ken

The Date column filter does not work in the new data viewer.

df <- data.frame(date = seq(as.Date("2021-07-01"), as.Date("2021-07-20"), by = "day"))
View(df)

The output text in the JSON is:

jsonlite::toJSON(df) 
[{"date":"2021-07-01"},{"date":"2021-07-02"},{"date":"2021-07-03"},{"date":"2021-07-04"},{"date":"2021-07-05"},{"date":"2021-07-06"},{"date":"2021-07-07"},{"date":"2021-07-08"},{"date":"2021-07-09"},{"date":"2021-07-10"},{"date":"2021-07-11"},{"date":"2021-07-12"},{"date":"2021-07-13"},{"date":"2021-07-14"},{"date":"2021-07-15"},{"date":"2021-07-16"},{"date":"2021-07-17"},{"date":"2021-07-18"},{"date":"2021-07-19"},{"date":"2021-07-20"}]

which does not seem to work with the Date filter ouf of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions