mantinedev / ui.mantine.dev

Mantine UI website and components
https://ui.mantine.dev
MIT License
2.92k stars 318 forks source link

Remove the AM/PM selector from the DateTimePicker in Mantine UI #88

Open ecatugy opened 7 months ago

ecatugy commented 7 months ago

Is it possible to remove the AM/PM from the DateTimePicker component while only keeping the selected hours and minutes? I couldn’t find anything in the documentation.

 <DateTimePicker
            radius="md"
            label="Data do disparo"
            placeholder="Disparo"
            withSeconds={false}
            valueFormat="DD/MM/YYYY HH:mm:ss"
          />