How to exclude weekends in Ion-DateTime component

Hello everyone, I need to exclude weekends from my dateTime. How can I do this?
Thanks a lot to everyone

Wait for Version 6.1 :smirk: They added this great feature, see pr: feat(datetime): isDateEnabled to enable/disable specific days by sean-perkins · Pull Request #24898 · ionic-team/ionic-framework · GitHub

<mat-form-field class="example-full-width" appearance="fill">
  <mat-label>Choose a date</mat-label>
  <input matInput [matDatepickerFilter]="myFilter" [matDatepicker]="picker">
  <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
  <mat-datepicker #picker></mat-datepicker>
 myFilter = (d: Date | null): boolean => {
    const day = (d || new Date()).getDay();
    // Prevent Saturday and Sunday from being selected.
    return day !== 0 && day !== 6;