fix: remove split seconds

This commit is contained in:
ThetaDev 2022-10-18 23:06:19 +02:00
parent 3c1cc92461
commit 9f7f337efd
5 changed files with 17 additions and 6 deletions

View file

@ -269,7 +269,7 @@ impl<T> CacheEntry<T> {
impl<T> From<T> for CacheEntry<T> {
fn from(f: T) -> Self {
Self::Some {
last_update: OffsetDateTime::now_utc(),
last_update: util::now_sec(),
data: f,
}
}