Function format_timestamp

Source
pub fn format_timestamp(timestamp: Option<SystemTime>) -> String
Expand description

Formats the timestamp with ā€œ%Y-%m-%d %H:%M:%Sā€ if there is Some, or returns a corresponding string of spaces.