ngx-daterangepicker-material icon indicating copy to clipboard operation
ngx-daterangepicker-material copied to clipboard

Possibility to use end date now

Open shoerantner opened this issue 4 years ago • 2 comments

I want to have the possibility to set the endDate to now

shoerantner avatar Dec 23 '20 07:12 shoerantner

Hello @shoerantner ,

I really apreciate your improvment, but I think having it more cleaning and more customisable would be great. I am thinking about something like defineEndDate or 'fixEndDateorendDateTo` or ... just to say the endDate is set fixed to a date provided. example:

fixEndDateTo="2021-12-12" [fixEndDateTo]="date" where date = now() in TS ....

What do you think about that? Could you create a new PR for that?

Thank you, and sorry for the late reply :)

fetrarij avatar Mar 23 '21 09:03 fetrarij

This comment has nothing to do with this PR. Just to let the author know that this library, right now is broken. It does not compile in production mode. Dayjs cannot be loaded.

lluisnieto avatar Aug 11 '21 14:08 lluisnieto