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.year(),
|
||||
date.month(),
|
||||
reoccurrence.start_date.day().min(
|
||||
u32::from(Month::try_from(u8::try_from(date.month()).unwrap())
|
||||
reoccurrence.start_date.day().min(u32::from(
|
||||
Month::try_from(u8::try_from(date.month()).unwrap())
|
||||
.unwrap()
|
||||
.length(date.year())),
|
||||
),
|
||||
.length(date.year()),
|
||||
)),
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user