yavin-dev / framework

A framework for rapidly building production quality analytics applications
https://yavin.dev
MIT License
85 stars 35 forks source link

Advanced date picker translates into incorrect range #1629

Closed daniellevinson closed 2 years ago

daniellevinson commented 2 years ago

Describe the bug One example, maybe there are other cases: P2M/current turns into 2 days in the past. Query is correct though

To Reproduce Steps to reproduce the behavior: See screen recording.

Expected behavior Should display 2 months or just keep the advanced one.

Screenshots https://user-images.githubusercontent.com/13946669/168854324-3b41398f-259e-4b18-ab74-6607abe12251.mov