Ionic datetime v6

I am having an issue with date-time in ionic angular v6. I am trying to disable weekends through the entire year. Date-time only allows a selection of days allowed. For example, the issue with this is that if I disable the day 4, December 4th 2021 (Saturday), January 4th, 2022 (Tuesday), etc will be disabled. Is there a way to disable weekends only?
Screen Shot 2021-12-29 at 1.19.16 PM
Screen Shot 2021-12-29 at 1.19.08 PM