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

UNIX timestamp in filter box. #16439

Closed
tree1123 opened this issue Aug 25, 2021 · 4 comments
Closed

UNIX timestamp in filter box. #16439

tree1123 opened this issue Aug 25, 2021 · 4 comments
Labels
#bug Bug report

Comments

@tree1123
Copy link

Hi guys, i'm use Superset 1.3.0 and i am getting the UNIX timestamp in filter box. Could you please suggest how to resolve it.

image

i expect 2021-01-01
2021-01-02

@tree1123 tree1123 added the #bug Bug report label Aug 25, 2021
@srinify
Copy link
Contributor

srinify commented Aug 25, 2021

Hi @tree1123 for the community to help you out, we will need a LOT more context :)

  • What version of Superset are you using?
  • Which database are you using?
  • What's the column type for the created column?

Issues with #2 and #3 often cause the issue you're seeing!

Also keep in mind that filter boxes are being deprecated slowly in favor of Dashboard Native Filters: #12148

@tree1123
Copy link
Author

Superset 1.3.0
mysql
column type in mysql is datetime,and in superset is timestamp no zone

@villebro
Copy link
Member

Hi @tree1123 - Filter Box is currently in the process of being deprecated and replaced by native filters, and therefore I don't believe this will be fixed (however, community contributions are welcome!). I urge you to check out the native value filter, which correctly handles timestamps. You just need to enable DASHBOARD_NATIVE_FILTERS feature flag, after which the native filter tab will become visible on your dashboard.

@tree1123
Copy link
Author

Hi @tree1123 - Filter Box is currently in the process of being deprecated and replaced by native filters, and therefore I don't believe this will be fixed (however, community contributions are welcome!). I urge you to check out the native value filter, which correctly handles timestamps. You just need to enable DASHBOARD_NATIVE_FILTERS feature flag, after which the native filter tab will become visible on your dashboard.

i understood。thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

No branches or pull requests

3 participants