zhaoyongjie opened a new pull request #12308:
URL: https://github.com/apache/superset/pull/12308


   ### SUMMARY
   fix #12283 
   refine `previous calendar range` in new timepicker
   
   for example: 
   current date is: 2021-01-06
   ```
   previous calendar week   ==  2020-12-28 ≤ col < 2021-01-04
   previous calendar month == 2020-12-01 ≤ col < 2021-01-01
   previous calendar year == 2020-01-01 ≤ col < 2021-01-01
   ```
   
   ### TEST PLAN
   changed UT
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to