JS Data Usuń AM i PM
var ampm = hours >= 12 ? 'pm' : 'am';
Blue Buzzard
var ampm = hours >= 12 ? 'pm' : 'am';