remove unused Date model
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
use time::OffsetDateTime;
|
|
||||||
|
|
||||||
pub struct Date {
|
|
||||||
pub dt: OffsetDateTime,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl Date {
|
|
||||||
pub fn new(dt: OffsetDateTime) -> Self {
|
|
||||||
Self { dt }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl Default for Date {
|
|
||||||
fn default() -> Self {
|
|
||||||
Self { dt: OffsetDateTime::now_utc() }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
pub mod conversation;
|
pub mod conversation;
|
||||||
pub mod participant;
|
pub mod participant;
|
||||||
pub mod date;
|
|
||||||
pub mod db;
|
pub mod db;
|
||||||
|
|
||||||
// Re-export the public types
|
// Re-export the public types
|
||||||
|
|||||||
Reference in New Issue
Block a user