material-community-components icon indicating copy to clipboard operation
material-community-components copied to clipboard

time-picker: wrong digit position in 24h format when 00:00 selected

Open RafalOddslife opened this issue 4 years ago • 0 comments

Describe the bug When you set time picker to 00:00 time in 24h mode it has space before hours which breaks layout. I believe it's related to:

  • https://github.com/tiaguinho/material-community-components/issues/159
  • <span><span *ngIf="needsSpacer">&nbsp;&nbsp;</span>{{ hour }}</span>

To Reproduce Steps to reproduce the behavior:

  1. Go to https://tiaguinho.github.io/material-community-components/timer-picker
  2. Click on time picker in the "Convert value to 24h" card.
  3. Set time 00:00
  4. See error

Screenshots image

RafalOddslife avatar Dec 04 '20 06:12 RafalOddslife