summaryrefslogtreecommitdiff
path: root/rust/schist_fakes/src/account.rs
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-11-26 20:27:53 +0000
committerJoe Carstairs <me@joeac.net>2024-11-26 20:32:18 +0000
commit58873c034847557122905cd893678eae5469b503 (patch)
tree64d72ec9241e442bdf26e71b475a458e88501dc8 /rust/schist_fakes/src/account.rs
parente07270da9f190171e6fdde556073d5af8691ca8e (diff)
Replaces DatetimeUtc with DateUtc where appropriate
Diffstat (limited to 'rust/schist_fakes/src/account.rs')
-rw-r--r--rust/schist_fakes/src/account.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/schist_fakes/src/account.rs b/rust/schist_fakes/src/account.rs
index 1cee16e..1547eb7 100644
--- a/rust/schist_fakes/src/account.rs
+++ b/rust/schist_fakes/src/account.rs
@@ -1,4 +1,4 @@
-use schist_models::{account::Account, datetime_utc::DatetimeUtc};
+use schist_models::{account::Account, date_utc::DateUtc};
use schist_traits::nowlike::Nowlike;
pub fn make_fake_account(id: i32) -> Account {
@@ -6,6 +6,6 @@ pub fn make_fake_account(id: i32) -> Account {
id,
name: String::from("Joe Bloggs"),
opening_balance: 0,
- opening_date: DatetimeUtc::now(),
+ opening_date: DateUtc::now(),
}
}