undo wrong change to next_date in lifecycle_worker.rs
This commit is contained in:
parent
a2a2f25950
commit
6b85263cc9
1 changed files with 2 additions and 0 deletions
|
@ -396,6 +396,8 @@ fn next_date(ts: u64) -> NaiveDate {
|
||||||
DateTime::from_timestamp_millis(ts as i64)
|
DateTime::from_timestamp_millis(ts as i64)
|
||||||
.expect("bad timestamp")
|
.expect("bad timestamp")
|
||||||
.date_naive()
|
.date_naive()
|
||||||
|
.succ_opt()
|
||||||
|
.expect("no next day")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn today() -> NaiveDate {
|
fn today() -> NaiveDate {
|
||||||
|
|
Loading…
Reference in a new issue