question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Date is not coming in proper format in partition chart

See original GitHub issue

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 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

screenshot

How to reproduce the bug

  1. Creating a date column in format “yyyy-mm-dd”
  2. screenshot
  3. 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
willbarrettcommented, Jun 25, 2020

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.

1reaction
issue-label-bot[bot]commented, Jun 22, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found