Date is not coming in proper format in partition chart
See original GitHub issueWhile using partition chart with BigQuery as data source the date which is of format “2020-05-27” i.e yyyy-mm-dd in superset gets displayed as epoch time. While running the same query on sqllab,bigquery or csv export from superset give it in proper format (yyyy-mm-dd)
Expected results
expected “date” to be displayed in “yyyy-mm-dd”
Actual results
date is getting displayed in epoch format
Screenshots
How to reproduce the bug
- Creating a date column in format “yyyy-mm-dd”
- Sqllab and csv export from superset gives the date in proper format i.e “yyyy-mm-dd”
Environment
(please complete the following information):
- superset version:
superset version
— 0.35.1 - python version:
python --version
---- 3.6.9 - node.js version:
node -v
- npm version:
npm -v
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Date is not coming in proper format in partition chart #10137
While using partition chart with BigQuery as data source the date which is of format "2020-05-27" i.e yyyy-mm-dd in superset gets displayed ...
Read more >How to Fix Excel Dates That Won't Change Format - Contextures
How to fix Excel dates that will not change format. Fix dates that end up in the wrong order when sorted. Use built-in...
Read more >Show timestamp and not date in chart - SQL - Stack Overflow
The code is edited with FORMAT(CAST(DateAndTime as time), 'hh\:mm\ ') put in front of the DateAndTime . Try SQLCon.Open() Dim Query As String ......
Read more >Formatting dates – amCharts 5 Documentation
Period Code No. Example
era G 1 AD
year y 1..n 1996
Y 1..n 1997
Read more >Handling and display of dates - Dataiku Documentation
Displaying dates¶. DSS only displays dates in UTC especially in charts If you use the format date processor with a proper ISO8601 format,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have confirmed that this is a bug on the current master branch. As this is an open source project, we do not have SLAs for fixing bugs. An existing contributor may contribute a patch for this issue, or we are happy to review pull requests from the broader community. If you’d like to attempt a fix, we are happy to point you in the right direction.
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.88. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.