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

Datetime columns are not displayed correctly #513

Closed
m-rossi opened this issue May 8, 2024 · 1 comment · Fixed by #518
Closed

Datetime columns are not displayed correctly #513

m-rossi opened this issue May 8, 2024 · 1 comment · Fixed by #518
Labels
bug Something isn't working

Comments

@m-rossi
Copy link

m-rossi commented May 8, 2024

Describe the bug
Datetime columns are not displayed correctly

To Reproduce

import datetime

import pandas as pd
import ipydatagrid


df = pd.DataFrame(
    {
        'A': [0, 1],
        'B': [datetime.datetime.now() - datetime.timedelta(days=1), datetime.datetime.now()],
    },
)
ipydatagrid.DataGrid(df)

Expected behavior
Display datetime columns like 2024-05-08... (worked before)

Screenshots
grafik

Environment (please complete the following information):

  • Operating System and Version: Windows
  • Browser: Firefox
  • ipydatagrid: 1.3.1
@martinRenou martinRenou added the bug Something isn't working label May 13, 2024
@m-rossi
Copy link
Author

m-rossi commented May 14, 2024

thanks @martinRenou !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants