0.0.8 • Published 3 years ago

hristov-digital-clock v0.0.8

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Hristov Digital Clock

Usage

<lib-hristov-digital-clock [format]="'h:m:s:t'"></lib-hristov-digital-clock>

The size of the clock is determined from the parent element. If it's inside an element that has 100 height and a 100 width the clock will have the same dimensions.

Format can be a combination of the following

Hours:

  • h - Formats the hours field in 12-hours format without leading zero (1..12).
  • hh - Formats the hours field in 12-hours format with leading zero (01..12).
  • H - Formats the hours field in 24-hours format without leading zero (0..23).
  • HH - Formats the hours field in 24-hours format with leading zero (00..23).

Minutes:

  • m - Formats the minutes field without leading zero (0..59).
  • mm - Formats the minutes field with leading zero (00..59).

Seconds:

  • s - Formats the seconds field without leading zero (0..59).
  • ss - Formats the seconds field with leading zero (00..59).

AM/PM display:

  • t - If you are using the 12-hours format the clock will display whether the time is am or pm. Has no effect on 24-hours format.
  • f - This will hide the am/pm display.
0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.1

3 years ago