primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Calendar TimeOnly doesn't display PM

Open eugenebuhor opened this issue 9 years ago • 3 comments

AM/PM switch invokes only on hours step from 12 to 01. The rest steps display only AM. My version of primeNG is 4.0.1.

Test it out here: http://plnkr.co/edit/3YB877?p=preview

eugenebuhor avatar May 24 '17 13:05 eugenebuhor

#2869

Is it above PR resolves your issue?

sudheerj avatar May 24 '17 13:05 sudheerj

Fixed via PR above.

cagataycivici avatar May 26 '17 15:05 cagataycivici

@sudheerj Tested on 4.2.1, same issue is present.

<p-calendar [showTime]="true" [hourFormat]="12" [(ngModel)]="startDate" placeholder="Start Date" [minDate]="oneYearAgo" [maxDate]="today" [showIcon]="true" [readonlyInput]="true"></p-calendar>

Can we reopen?

rich4756 avatar Oct 26 '17 17:10 rich4756