diff --git a/kordophone-db/src/models/date.rs b/kordophone-db/src/models/date.rs deleted file mode 100644 index 084769e..0000000 --- a/kordophone-db/src/models/date.rs +++ /dev/null @@ -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() } - } -} \ No newline at end of file diff --git a/kordophone-db/src/models/mod.rs b/kordophone-db/src/models/mod.rs index 4d76d37..910f406 100644 --- a/kordophone-db/src/models/mod.rs +++ b/kordophone-db/src/models/mod.rs @@ -1,6 +1,5 @@ pub mod conversation; pub mod participant; -pub mod date; pub mod db; // Re-export the public types