uses 12/24h format according to global setting