Skip to main content

when_label

Function when_label 

Source
pub fn when_label(when: &When, time_zone: &TimeZone) -> String
Available on crate feature calendar only.
Expand description

When a span is, in words, for a dialog or a list: “Thu 19 Nov, 10:00 - 11:30” for a time on one day, and the first and last day otherwise.