Customizable text labels for the LiveClock component.
Enables full internationalization (i18n) support for the clock display.
const customLabels: Partial<LiveClockLabels> = { formatTime: (date) => date.format('HH:mm:ss'), formatDate: (date) => date.format('DD/MM/YYYY'),};<LiveClock labels={customLabels} /> Copy
const customLabels: Partial<LiveClockLabels> = { formatTime: (date) => date.format('HH:mm:ss'), formatDate: (date) => date.format('DD/MM/YYYY'),};<LiveClock labels={customLabels} />
Function to format the time display. Receives a dayjs object and returns a formatted string. Default: 'MMMM D, YYYY h:mm:ss A' (e.g., "January 25, 2026 2:30:45 PM")
Customizable text labels for the LiveClock component.
Remarks
Enables full internationalization (i18n) support for the clock display.
Example