::ng-deep p-calendar.calendar-control > span > input.p-inputtext {
border: 1px solid black;
background: #eeeeee;
text-align: center !important;
}
The content is not properly centered.
<p-calendar dateFormat="mm/dd/yy" dateMask autoUnmask="true"
[ngClass]="{'ng-invalid ng-dirty':f['tdate']?.errors &&f['tdate']?.touched}"
formControlName="tdate" id="tdate" class="date " placeholder="mm/dd/yyyy"
name="tdate" [(ngModel)]="dateModel"
[disabled]="isDisabled"
></p-calendar>