diff --git a/src/backend/nc_message.rs b/src/backend/nc_message.rs index 4f6848f..b2b7981 100644 --- a/src/backend/nc_message.rs +++ b/src/backend/nc_message.rs @@ -21,6 +21,7 @@ impl NCMessage { time.format("%H:%M").to_string() } + /// return message date as string with given format pub fn get_date_str(&self, date_format: &str) -> String { let date: DateTime = DateTime::from( DateTime::::from_timestamp(self.0.timestamp, 0)