Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split_by doesn't respect the date formatting settings #2922

Open
vera-atomic opened this issue Feb 11, 2025 · 0 comments
Open

split_by doesn't respect the date formatting settings #2922

vera-atomic opened this issue Feb 11, 2025 · 0 comments
Labels
bug Concrete, reproducible bugs

Comments

@vera-atomic
Copy link

Bug Report

When formatting dates, configurations don't apply when the column is used as split_by

Steps to Reproduce:

take the datagrid example on perspective's main page:

Image

I formatted the lastUpdate column in a custom way with this config:

"lastUpdate": {
      "date_format": {
        "format": "custom",
        "second": "disabled",
        "minute": "disabled",
        "hour": "disabled"
      }
    }

It works, the lastUpdate column does not show the times only the date.
Now if I try to use the lastUpdate column as a split_by, it doesn't respect that formatting and displays the times once more:

Image

Expected Result:

I expect the formatting to apply in all situations, regardless of where I'm using the column

Actual Result:

Now if I try to use the lastUpdate column as a split_by, it doesn't respect that formatting and displays the times once more

Environment:

Perspective main page, viewed on Chrome

@texodus texodus added the bug Concrete, reproducible bugs label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

No branches or pull requests

2 participants