Get pretty time labels from breaks. Full format is applied to generate the first two labels, whilst partial format is applied to all labels in between.
1 2 3 4 5 | get_datetime_labels(
datetime_breaks,
full_datetime_format = "%y-%m-%d %H:%M",
partial_datetime_format = "%H:%M"
)
|
datetime_breaks |
input datetime breaks |
full_datetime_format |
datetime format applied to first and last breaks |
partial_datetime_format |
datetime format applied to elements in between |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.