neos-ui icon indicating copy to clipboard operation
neos-ui copied to clipboard

BUG: DateTimeEditor does not show a leading 0 for minutes < 10

Open erkenes opened this issue 1 year ago • 0 comments

Description

The DateTimeEditor does not display a leading 0 for minutes < 10 at the beginning.

Steps to Reproduce

  1. Open the _hiddenBeforeDateTime input (or another DateTime-Editor) and click on the time
  2. Set a time with minutes between 0 and 9
  3. Click on the date again

Expected behavior

If I set "02:01" as the time it should show "02:01" and not "02:1".

Actual behavior

image

image

Should not the hour have a leading zero too?

Affected Versions

Neos: 8.3.12

UI: 8.3.7

erkenes avatar May 02 '24 09:05 erkenes