superset icon indicating copy to clipboard operation
superset copied to clipboard

Unable to change the Datetime Format while editing the datasource

Open umesh11111 opened this issue 7 years ago • 6 comments

While editing the datasource we can see the option like Label,Description,Datetime Format,when i am giving any dateformat in Datetime Format option,its not reflecting in the table view. but when i am changing the label name its getting reflected in the column name.

Expected results

It should apply dateformat into the table what we have given in Datetime Format option.

Actual results

i am getting the default format of date.

Screenshots

If applicable, add screenshots to help explain your problem.

How to reproduce the bug

  1. Create any chart in table view and save it

  2. Click on datasource link and go to columns tab.

  3. Scroll down to '....'

  4. See error

Environment

(please complete the following information):

  • superset version: superset version
  • python version: python --version
  • 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. image

umesh11111 avatar Oct 29 '19 04:10 umesh11111

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.77. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Oct 29 '19 04:10 issue-label-bot[bot]

Any update?

umesh11111 avatar Nov 08 '19 14:11 umesh11111

Hi @umesh11111 - please complete all of the required information in the bug report template so that the maintainers can investigate the issue.

willbarrett avatar Nov 08 '19 23:11 willbarrett

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Jan 07 '20 23:01 stale[bot]

Hi @umesh11111 Did you solve this issue?!? If yes, could you please give me some directions?!? Thank you!

jefo2k avatar Mar 03 '20 10:03 jefo2k

@umesh11111 @jefo2k

Hope this code link would help you~ validators_columns of python_date_format Base on those format validator. %Y-%m-%dT%H:%M:%S.%f It Works for me.

sodawy avatar Mar 28 '20 02:03 sodawy