api/v1/dashboard API response time format is wrong
See original GitHub issueI found the Modified column for welcome
page is messaged up, which was caused by the time format from api/v1/dashboard
API.
For example if i crated a dashboard at 2020-07-13 19:09:54.991076 PSD time, API responded as changed_on: "2020-07-13T19:09:54.991076+00:00"
. Then front-end js will parse it as Mon Jul 13 2020 12:09:54 GMT-0700 (Pacific Daylight Time)
Compare the welcome page vs dashboard list view:
Expected results
Actual results
Environment
(please complete the following information):
latest master branch
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
@villebro I think this issue is 0.37 blocker.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
api/v1/dashboard API response time format is wrong #10307
I found the Modified column for welcome page is messaged up, which was caused by the time format from api/v1/dashboard API.
Read more >Irregular Behavior for POST /api/v1/dashboards/import/bulk
I have a dashboard I want to import into Sisense. This dashboard has no issues being imported on one environment but fails to...
Read more >Errors - Meraki-Dashboard-API-v1-Documentation
Error responses from the API generally use standard HTTP status codes. ... error messages will be included in the response in JSON format,...
Read more >Data Dashboard API Usage Documentation
Response Format. The API returns a response in JSON format, based on information supplied in the body of the request: The JSON response...
Read more >HTTP API - Prometheus.io
The API response format is JSON. Every successful API request returns a 2xx status code. Invalid requests that reach the API handlers return...
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
@graceguo-supercat, @dpgaspar: our webserver and metadata databases are on UTC, not Pacific Time.
fixed on master