Skip to main content

render_date

Function render_date 

Source
pub fn render_date(d: &DateValue) -> String
Expand description

The canonical string: YYYY-MM-DD for a date-only value; otherwise YYYY-MM-DDThh:mm:ss + .fff when the value carries a fraction (as written, or because arithmetic produced one) + Z for UTC or the written ±hh:mm.