Blokks

Time format

Similar to changing the Date format you can change the way times are displayed by setting data-date-time. It takes a string of tokens and replaces them with their corresponding values:

Hours
H 0 1 … 22 23
HH 00 01 … 22 23
h 1 2 … 11 12
hh 01 02 … 11 12
k 1 2 … 23 24
kk 01 02 … 23 24
Minutes
m 0 1 … 58 59
mm 00 01 … 58 59
Seconds
s 0 1 … 58 59
ss 00 01 … 58 59
Extra
A AM PM
a am pm

Example

<script	defer src='[path-to-embed]'
  data-blokks-id='[schedule-id]'
  data-date-time='H:m a'>
</script>