Material-ui-pickers: hh:mm:ss does not change

Created on 11 Sep 2020  路  1Comment  路  Source: mui-org/material-ui-pickers

Using the moment utility I cannot change the hours, minutes and seconds.

  • [x] The issue is present in the latest release.
  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

I try to change the hours, minutes and seconds and it always goes on 00:00:00
https://codesandbox.io/s/rough-rain-nesho?file=/src/index.tsx

Happens in latest alpha version: https://codesandbox.io/s/friendly-knuth-i4jsy?file=/src/App.js

| Tech | Version |
| ----------- | ------- |
| @material-ui/core | v4.11.0 |
| @material-ui/pickers | v3.2.10 |
| React | v16.13.1 |

question

Most helpful comment

Check your use of format & inputFormat

Old: format="DD/MM/yyyy HH:mm:ss"

New: format="DD/MM/YYYY HH:mm:ss"

>All comments

Check your use of format & inputFormat

Old: format="DD/MM/yyyy HH:mm:ss"

New: format="DD/MM/YYYY HH:mm:ss"
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Lysander picture Lysander  路  3Comments

benneq picture benneq  路  3Comments

filipenevola picture filipenevola  路  4Comments

katy6514 picture katy6514  路  3Comments

brett-patterson picture brett-patterson  路  3Comments