How can I get the Global Search box to search with Month in a 'dd LLL YYYY' format. Example, find rows with Jan or Feb. Using Angular 12.0.3 and PrimeNG p-table in 12.2.2 .
<p-table #dt [value]="rowData" [(selection)]="selectedRowData" dataKey="id"
[rowHover]="true" [resizableColumns]="true" [autoLayout]="true" [lazy]="false"
[rows]="10" [showCurrentPageReport]="true" [rowsPerPageOptions]="[10,25,50]" [loading]="showSpinner()"
[paginator]="true" currentPageReportTemplate="Showing {first} to {last} of {totalRecords} entries"
[filterDelay]="0" sortField="lastModifiedDate" [sortOrder]="-1"
[globalFilterFields]="['someIdNum','someOtherField','status','someCount',
'lastModifiedByUser', 'lastModifiedDate']">
<span class="p-input-icon-right p-ml-auto" style="margin-right: 7px">
<i class="pi pi-search"></i>
<input name="globalFilterString" [(ngModel)]="globalFilterString"
pInputText type="text" (input)="applyFilterGlobal($event, 'contains')" placeholder="Filter" />
</span>
<button type="button" (click)="resetTable()" pButton label="Reset" icon="pi pi-replay"
style="margin-left:.25em"></button>
then below:
<td>
{{row.lastModifiedDate | date: 'dd LLL yyyy'}}
</td>