fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
249 stars 252 forks source link

Customization of date range and what is displayed in the calendar (feature request) #361

Open pinkninjajess opened 3 years ago

pinkninjajess commented 3 years ago

In the list of date ranges, I would like to add a range called "Last N" that would hold a different custom component that I would create- that would ideally open on the right side of the calendar window when clicked.

The component would allow the user to put a number into an input and have a drop down with different units of time: seconds, minutes, hours, days, etc.

Is there any possible way to currently implement this? I'm not sure how to customize what is displayed in the calendar and also in the ranges. Thanks in advance!

Quick mockup made in Paint: daterange-cropped