Change the order a date is picked from the Datepicker and al


Topic: Change the order a date is picked from the Datepicker and allow partial dates

UNNdev pro premium priority asked 4 years ago

It would be nice if the Datepicker could allow changing the order in which a date is picked to year -> month -> day and also allow a partial selection and whether to auto-complete the missing "parts" with the earliest or latest date.

With earliest date, picking the year 2020 would return 2020-01-01 as date, or picking March 2020 would return 2020-03-01 as date.

With latest date, picking the year 2020 would return 2020-12-31, or picking March 2020 would return 2020-03-31.

This would allow for an easy implementation of a UI where the user is supposed to pick a time span for a search query for example ("consider articles posted between __ and __").


Dawid Wajszczuk staff answered 4 years ago

Hi,

Thanks for your idea. I will add this to our ideas list.

Keep coding,
Dawid


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No
Tags