sun-card icon indicating copy to clipboard operation
sun-card copied to clipboard

24h clock format does not include leading 0

Open markcocker opened this issue 5 years ago • 0 comments

Describe the bug When sun-card is configured to show time using Clock format 24h it does not include leading 0.

Screenshot 2020-08-25 at 03 16 08

To Reproduce

  1. Go to Card Configuration
  2. Set Clock format to 24h
Screenshot 2020-08-25 at 03 18 41

Expected behavior Numbers under 10 usually have a zero in front as described in Wikipedia 24-hour clock. For example in the screen show below 6:10 should be 06:10.

Desktop (please complete the following information):

  • OS: iOS
  • Browser: Firefox
  • Version: 79.0

markcocker avatar Aug 25 '20 02:08 markcocker