PACK-Solutions / angular-stdlib

Angular standard library open source part of the PACK Solutions @ps-angular-common library
MIT License
3 stars 2 forks source link

DateValidators problem with beforeDate, notBeforeDate, afterDate and notAfterDate #12

Open magnasilvar opened 4 years ago

magnasilvar commented 4 years ago

🐞 Bug report

When using a third party library like ngx-bootstrap/datepicker :

So, use case we only want date part to be compare (and not time part) can raise a bugged behaviour.

How repair it

Tip - Use DateFormatter.toFakeSerializedDate