Compare commits
1 Commits
8181cc823e
...
2d3e2cb3a9
| Author | SHA1 | Date | |
|---|---|---|---|
|
2d3e2cb3a9
|
@@ -152,11 +152,11 @@ pub(crate) async fn complete_task(task_id: i32) -> Result<Task> {
|
|||||||
*date = NaiveDate::from_ymd_opt(
|
*date = NaiveDate::from_ymd_opt(
|
||||||
date.year(),
|
date.year(),
|
||||||
date.month(),
|
date.month(),
|
||||||
reoccurrence.start_date.day().min(
|
reoccurrence.start_date.day().min(u32::from(
|
||||||
u32::from(Month::try_from(u8::try_from(date.month()).unwrap())
|
Month::try_from(u8::try_from(date.month()).unwrap())
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.length(date.year())),
|
.length(date.year()),
|
||||||
),
|
)),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user