superset icon indicating copy to clipboard operation
superset copied to clipboard

Smart date parsing confuses 00:12:00 with midnight

Open nbonnotte opened this issue 8 years ago • 1 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x] I have reproduced the issue with at least the latest released version of superset
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.27.0

Expected results

When filtering: « since: 90 days ago, until: today », I expect the filter to be from 90 days ago midnight, until midnight this morning.

Actual results

The query that Superset uses is:

WHERE ts_depot >= '2018-06-28 00:12:00'
  AND ts_depot <= '2018-09-26 00:12:00'

This is so wrong... How am I the only one seeing this?

nbonnotte avatar Sep 26 '18 15:09 nbonnotte

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.

stale[bot] avatar Apr 10 '19 14:04 stale[bot]