Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.87k stars 1.59k forks source link

Frontend components need to be aware of "Ignore timezones" flag to send correct dates to API #13974

Open mikesealey opened 5 months ago

mikesealey commented 5 months ago

Checklist

Hosting

Describe the bug When applying a filter to dates the Less than or equal to don't actually pass equal values.

To Reproduce Steps to reproduce the behavior:

  1. Create a table with some dates that include data times
  2. Add a form containing date fields, for "start date" and "end date"
  3. Add a table component to display the dates
  4. use the "start date" and "end date" fields as filters using "Less than or equal to" and "More than or equal to"
  5. Filter using an exact date-time that exists in the table
  6. Row that equals the date-time passed will be filtered out

Expected behaviour Filters set this way should be inclusive, (in short "pick a number between 1 & 3" should allow 1,2, or 3, not just 2)

Screenshots image

Burger - 07/06/2024 : 00:00 should display as the filter is "Less than or equal to" image

Start Date and End date are deliberately identical, and match Lasagna image

Start Date is exactly Lasagna's Date Time, End date is 1 minute over image

Start Date is exactly Fajitas Date Time but End Date is 59 minutes after Lasagna, but Lasagna doesn't show (Shows at 01:00) image

App Export Comparisons In Filters-export-1718795393168.tar.gz

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

linear[bot] commented 5 months ago

BUDI-8379 Table Filters for "Less Than or Equal To" on Date/DateTime don't accept "or equal to" values.