So if we have 24 hour format set in moment locale configuration then we still need to specify ampm={false} on every picker.
But actually - Do we have?
If really - it would be nice enhancmenet
moment.updateLocale('en', {
longDateFormat: {
LT: 'HH:mm', // 24
LT: 'h:mm A', // 12
},
});
dt.format('LT')Settings.defaultLocale = 'fr';dt.toLocaleString(DateTime.TIME_SIMPLE)Locale does not contain information about am pm.
But you are right we can lift up the am pm settings globally. Passing props to Provider?
That should be done 馃憤
Finally got to the point that it will be a bad way. Closing this
Most helpful comment
Locale does not contain information about am pm.
But you are right we can lift up the am pm settings globally. Passing props to Provider?
That should be done 馃憤