Skip to content

Commit

Permalink
chore: oops, forgot fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
iamwacko committed Sep 18, 2024
1 parent 0583844 commit 9a58055
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions core/src/graph/series.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::graph::prelude::content::series::SeriesVariant;
use crate::graph::prelude::*;
use anyhow::Result;
use chrono::{Duration, NaiveDateTime, DateTime};
use chrono::{DateTime, Duration, NaiveDateTime};
use std::f64::consts::PI;
use std::ops::Add;

Expand Down Expand Up @@ -293,8 +293,11 @@ impl Generator for AutoCorrelatedSeries {
current += delta as i64;
}

self.v
.push(DateTime::from_timestamp(current / 1000, 0).unwrap().naive_utc());
self.v.push(
DateTime::from_timestamp(current / 1000, 0)
.unwrap()
.naive_utc(),
);

GeneratorState::Yielded(*self.v.last().unwrap())
}
Expand Down

0 comments on commit 9a58055

Please sign in to comment.