Kevin Niedermayr

Custom Timerange UI Datepicker

  • Save

Had to do a custom time-range date-picker in a product which allowed different scenarios:

- Custom: you are able to select your date in the future and past - this setting triggered as soon as you selected random dates which wouldn't fit the other ranges.
- All Time: First day of tracking.
- Today/Yesterday
- Last n Days: Depending on the first selected date (most of the time it was the current day).

keyboard shortcuts: L or F like