Check out example codes for "const formats = { time: { '24hour': {hour12: false, hours: 'numeric', minute: 'numeric'} } }; <IntlProvider locale={locale} messages={messages} formats={formats}> <FormattedTime value={someDate} format='24hour'/> </IntlProvider>". It will help you in understanding the concepts better.

Code Example 1

const formats = {
  time: {
    '24hour': {hour12: false, hours: 'numeric', minute: 'numeric'}
  }
};

<IntlProvider locale={locale} messages={messages} formats={formats}>
  <FormattedTime value={someDate} format='24hour'/>
</IntlProvider>

Learn ReactJs, React Native from akashmittal.com