Time format configuration options for regional time display.
Defines available time formats including 12-hour (AM/PM) and 24-hour formats with their display patterns and behavior.
const timeFormats: TimeFormatOptions[] = [ { id: '12h', format: 'hh:mm:ss a', ampm: true }, // 3:45:30 PM { id: '24h', format: 'HH:mm:ss', ampm: false } // 15:45:30]; Copy
const timeFormats: TimeFormatOptions[] = [ { id: '12h', format: 'hh:mm:ss a', ampm: true }, // 3:45:30 PM { id: '24h', format: 'HH:mm:ss', ampm: false } // 15:45:30];
True if using 12-hour format with AM/PM, false for 24-hour format
Time format configuration options for regional time display.
Defines available time formats including 12-hour (AM/PM) and 24-hour formats with their display patterns and behavior.
Example