Skip to main content

format_date

Function format_date 

Source
pub fn format_date(value: &Value, pattern: &str) -> String
Expand description

formatDate: a TR35 pattern applied to the date as written (yyyy yy MMMM MMM MM M EEEE E dd d HH H hh h mm ss a), or ISO for the instant in UTC with milliseconds. A value that does not parse gives "".