Skip to main content

calendar_day

Function calendar_day 

Source
fn calendar_day(timestamp: &str, tz: &Tz) -> Option<String>
Expand description

The YYYY-MM-DD calendar day in tz for an rfc3339 timestamp, or None when it doesn’t parse. DST-correct: the offset is resolved at the instant, so a late-evening UTC time lands on the next local day.